"""Ajout codes de secours 2FA

Revision ID: 60d0bc609c7d
Revises: b706fae9ff58
Create Date: 2026-01-02 19:26:04.414485

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '60d0bc609c7d'
down_revision = 'b706fae9ff58'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('users', schema=None) as batch_op:
        batch_op.add_column(sa.Column('two_factor_recovery_codes', sa.Text(), nullable=True))

    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('users', schema=None) as batch_op:
        batch_op.drop_column('two_factor_recovery_codes')

    # ### end Alembic commands ###
