mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-14 17:22:17 -05:00
Fix typo
This commit is contained in:
@@ -82,7 +82,7 @@ class CustomDbScript(Command):
|
||||
|
||||
# Now update notification_history
|
||||
subq_history = "select id from notification_history where international is null limit 250000"
|
||||
update_history = "update notification_history set international = False where id in ({})".format(subq)
|
||||
update_history = "update notification_history set international = False where id in ({})".format(subq_history)
|
||||
result_history = db.session.execute(subq_history).fetchall()
|
||||
while len(result_history) > 0:
|
||||
db.session.execute(update_history)
|
||||
|
||||
Reference in New Issue
Block a user