Skip to content

Commit

Permalink
Updating data model
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-S-Allen committed Feb 27, 2024
1 parent 5fccca4 commit ba6e3b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion alembic/versions/74a83030b18d_initialize_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ def upgrade() -> None:
)

def downgrade() -> None:
op.drop_constraint('fk_score_id_overrides', 'overrides', type_='foreignkey')
op.drop_constraint('fk_overrides_id_scores', 'scores', type_='foreignkey')
op.drop_constraint('fk_models_id_scores', 'scores', type_='foreignkey')
op.drop_constraint('fk_score_id_final_collection', 'final_collection', type_='foreignkey')
op.drop_table('scores')
op.drop_table('overrides')
op.drop_table('final_collection')
op.drop_table('models')

0 comments on commit ba6e3b1

Please sign in to comment.