mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
Merge pull request #2848 from alphagov/add-commit-migration
Adding a commit at the end of each migration file.
This commit is contained in:
@@ -30,6 +30,7 @@ def upgrade():
|
||||
""")
|
||||
if environment not in ["live", "production"]:
|
||||
op.execute('ALTER TABLE notification_history DROP CONSTRAINT IF EXISTS chk_notification_history_postage_null')
|
||||
op.execute('COMMIT')
|
||||
|
||||
|
||||
def downgrade():
|
||||
|
||||
@@ -38,6 +38,7 @@ def upgrade():
|
||||
)
|
||||
NOT VALID
|
||||
""")
|
||||
op.execute('COMMIT')
|
||||
|
||||
|
||||
def downgrade():
|
||||
|
||||
Reference in New Issue
Block a user