"""su audit

Revision ID: 54364e9ad2c1
Revises: 1096dc59a150
Create Date: 2024-08-01 14:38:06.160719

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '54364e9ad2c1'
down_revision = '1096dc59a150'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('cmf_audit', sa.Column('real_user_id', sa.String(length=64), nullable=True))
    op.create_index(op.f('ix_cmf_audit_real_user_id'), 'cmf_audit', ['real_user_id'], unique=False)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index(op.f('ix_cmf_audit_real_user_id'), table_name='cmf_audit')
    op.drop_column('cmf_audit', 'real_user_id')
    # ### end Alembic commands ###
