32 lines
969 B
Python
32 lines
969 B
Python
"""store provider complaints
|
|
|
|
Revision ID: 0aaad1740797
|
|
Revises: 28b9b14c9664
|
|
Create Date: 2022-05-03 16:44:24.618504
|
|
|
|
"""
|
|
import sqlalchemy_utils
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '0aaad1740797'
|
|
down_revision = '28b9b14c9664'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.create_index(op.f('ix_admin_audit_log_admin_user_id'), 'admin_audit_log', ['admin_user_id'], unique=False)
|
|
op.drop_index('admin_audit_log_admin_user_id_idx', table_name='admin_audit_log')
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.create_index('admin_audit_log_admin_user_id_idx', 'admin_audit_log', ['admin_user_id'], unique=False)
|
|
op.drop_index(op.f('ix_admin_audit_log_admin_user_id'), table_name='admin_audit_log')
|
|
# ### end Alembic commands ###
|