"""Ajoute de la table kyc

Revision ID: 0883dc0b555f
Revises: 8adb89285efb
Create Date: 2025-11-21 16:41:38.421682

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '0883dc0b555f'
down_revision: Union[str, None] = '8adb89285efb'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('kyc_verifications', 'document_number')
    op.drop_column('kyc_verifications', 'selfie_image')
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('kyc_verifications', sa.Column('selfie_image', sa.VARCHAR(), autoincrement=False, nullable=True))
    op.add_column('kyc_verifications', sa.Column('document_number', sa.VARCHAR(), autoincrement=False, nullable=False))
    # ### end Alembic commands ###
