"""Added uuid for RFP QnA table

Revision ID: c086ad70498b
Revises: b093fb58df2c
Create Date: 2026-02-18 14:48:59.633125

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = 'c086ad70498b'
down_revision: Union[str, Sequence[str], None] = 'b093fb58df2c'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    """Upgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('rfpqna', sa.Column('uuid', sa.UUID(), nullable=True))
    op.create_index(op.f('rfpqna_uuid_idx'), 'rfpqna', ['uuid'], unique=True)
    # ### end Alembic commands ###


def downgrade() -> None:
    """Downgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index(op.f('rfpqna_uuid_idx'), table_name='rfpqna')
    op.drop_column('rfpqna', 'uuid')
    # ### end Alembic commands ###
