Skip to content

Commit 7499b20

Browse files
committed
fix migration
1 parent 551d6bd commit 7499b20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/migrations/versions/d6ee93e07a70_add_match_matchstatus_suggestedtime_.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ def upgrade() -> None:
7171
sa.ForeignKeyConstraint(['time_block_id'], ['time_blocks.id'], ),
7272
sa.PrimaryKeyConstraint('match_id', 'time_block_id')
7373
)
74-
op.drop_table('schedules')
75-
op.drop_table('schedule_status')
7674
op.drop_constraint('time_blocks_schedule_id_fkey', 'time_blocks', type_='foreignkey')
7775
op.drop_column('time_blocks', 'schedule_id')
7876
op.drop_column('time_blocks', 'end_time')
77+
op.drop_table('schedules')
78+
op.drop_table('schedule_status')
7979
# ### end Alembic commands ###
8080

8181

0 commit comments

Comments
 (0)