Closed alexhsamuel closed 3 weeks ago
After archiving runs, remove any adhoc jobs that no longer have associated runs. Something like:
DELETE FROM jobs LEFT OUTER JOIN runs ON runs.job_id = jobs.job_id WHERE runs.run_id IS NULL
We should probably get rid of this table altogether, and use the copies attached to runs only.
After archiving runs, remove any adhoc jobs that no longer have associated runs. Something like:
We should probably get rid of this table altogether, and use the copies attached to runs only.