From dd92068de2685dce88b543c6984dcc9f2d09eda1 Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Tue, 1 Oct 2024 14:17:45 -0400 Subject: [PATCH] fix: make down migration sort of work --- chord_drs/migrations/versions/5e982af5cde4_remove_bundles.py | 1 - 1 file changed, 1 deletion(-) diff --git a/chord_drs/migrations/versions/5e982af5cde4_remove_bundles.py b/chord_drs/migrations/versions/5e982af5cde4_remove_bundles.py index 6c5ee45..828a631 100644 --- a/chord_drs/migrations/versions/5e982af5cde4_remove_bundles.py +++ b/chord_drs/migrations/versions/5e982af5cde4_remove_bundles.py @@ -53,6 +53,5 @@ def downgrade(): with op.batch_alter_table("drs_object", schema=None) as batch_op: batch_op.add_column(sa.Column("bundle_id", sa.INTEGER(), nullable=True)) - batch_op.create_foreign_key(None, "drs_bundle", ["bundle_id"], ["id"]) # ### end Alembic commands ###