Skip to content

Commit

Permalink
Add inline comment explaining db revision step
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Claessen <30658763+Flix6x@users.noreply.github.com>
  • Loading branch information
Flix6x committed Dec 14, 2023
1 parent 502eb9f commit a41c838
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def upgrade():
nullable=False,
)

# This constraint is renamed to include the full name of the `data_source` table.
with op.batch_alter_table("timed_belief", schema=None) as batch_op:
batch_op.drop_constraint(
"timed_belief_source_id_source_fkey", type_="foreignkey"
Expand Down

0 comments on commit a41c838

Please sign in to comment.