mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-26 01:03:41 -04:00
Fix typo
This commit is contained in:
@@ -82,7 +82,7 @@ class CustomDbScript(Command):
|
|||||||
|
|
||||||
# Now update notification_history
|
# Now update notification_history
|
||||||
subq_history = "select id from notification_history where international is null limit 250000"
|
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()
|
result_history = db.session.execute(subq_history).fetchall()
|
||||||
while len(result_history) > 0:
|
while len(result_history) > 0:
|
||||||
db.session.execute(update_history)
|
db.session.execute(update_history)
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
9772
|
|
||||||
Reference in New Issue
Block a user