"""table_stat_indx Revision ID: e075b36c9bb0 Revises: c2633c094def Create Date: 2019-01-18 16:46:08.685995 """ # revision identifiers, used by Alembic. revision = 'e075b36c9bb0' down_revision = 'c2633c094def' branch_labels = None depends_on = None from alembic import op import sqlalchemy as sa def upgrade(): op.execute(''' create unique index admin_table_stats_uniq on admin_table_stats (table_name, as_of) ''') def downgrade(): op.execute('''drop table admin_table_stats_uniq''')