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:
Martyn Inglis
2017-04-18 14:40:33 +01:00
parent 8956338d31
commit 5081ffc675

View File

@@ -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'")