Skip to content

Commit

Permalink
commit() in a migration will cause the alembic version not to update
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaclarke committed May 20, 2021
1 parent a4ec126 commit 348a581
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion migrations/versions/0d4e564b1876_backfill_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ def upgrade():
set_=values,
)
)
connection.commit()


def downgrade():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ def upgrade():
set_=values,
)
)
connection.commit()
print(f"Processed {i} summary")
i += 1

Expand Down

0 comments on commit 348a581

Please sign in to comment.