Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dstandish committed Sep 20, 2024
1 parent a409909 commit 97d37e5
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,11 @@

def upgrade():
"""Apply Remove redundant index."""
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("log", schema=None) as batch_op:
batch_op.drop_index("idx_log_dag")

# ### end Alembic commands ###


def downgrade():
"""Unapply Remove redundant index."""
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("log", schema=None) as batch_op:
batch_op.create_index("idx_log_dag", ["dag_id"], unique=False)

# ### end Alembic commands ###

0 comments on commit 97d37e5

Please sign in to comment.