"""add_session_identifier Revision ID: 8f85eb945112 Revises: 0261def12898 Create Date: 2024-01-15 17:36:27.224021 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '8f85eb945112' down_revision = '0261def12898' branch_labels = None depends_on = None def upgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.add_column('context', sa.Column('identifier', sa.String(length=64), nullable=False)) op.add_column('context', sa.Column('identifier_type', sa.String(length=16), nullable=False)) op.create_index(op.f('ix_context_identifier'), 'context', ['identifier'], unique=False) # ### end Alembic commands ### def downgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.drop_index(op.f('ix_context_identifier'), table_name='context') op.drop_column('context', 'identifier_type') op.drop_column('context', 'identifier') # ### end Alembic commands ###