guix-data-service/sqitch/revert/dates_to_load_new_guix_revision_jobs.sql
Christopher Baines 4ccf3132b6 Record job success without deleting the job record
Previously, the records for jobs would be deleted. It's useful to know when
jobs were inserted in to the database, as well as when they succeeded (if they
have). This change also makes it possible to keep track of jobs that have
failed, as they won't be deleted.
2019-06-02 21:48:02 +01:00

8 lines
221 B
PL/PgSQL

-- Revert guix-data-service:dates_to_load_new_guix_revision_jobs from pg
BEGIN;
ALTER TABLE load_new_guix_revision_jobs DROP COLUMN created_at;
ALTER TABLE load_new_guix_revision_jobs DROP COLUMN succeeded_at;
COMMIT;