"""Nom de la migration

Revision ID: c4bc0277b1d7
Revises: e634cdf5a66b
Create Date: 2025-11-21 15:06:13.863404

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = 'c4bc0277b1d7'
down_revision: Union[str, None] = 'e634cdf5a66b'
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('users', 'photo_recto')
    op.drop_column('users', 'photo_verso')
    # ### end Alembic commands ###


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