mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
roll error jobs into finished state - unsure where to go with these as these have failed, but this leaves them nowhere to go.
Making them finished and the whole job can be re-done.
This commit is contained in:
@@ -19,4 +19,5 @@ def upgrade():
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.execute("UPDATE jobs SET job_status = 'finished' WHERE job_status = 'error'")
|
||||
op.execute("DELETE FROM JOB_STATUS WHERE name = 'error'")
|
||||
|
||||
Reference in New Issue
Block a user