aboutsummaryrefslogtreecommitdiff
path: root/sqitch/revert
diff options
context:
space:
mode:
Diffstat (limited to 'sqitch/revert')
-rw-r--r--sqitch/revert/load_new_guix_revision_job_events.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sqitch/revert/load_new_guix_revision_job_events.sql b/sqitch/revert/load_new_guix_revision_job_events.sql
new file mode 100644
index 0000000..a0a1eec
--- /dev/null
+++ b/sqitch/revert/load_new_guix_revision_job_events.sql
@@ -0,0 +1,12 @@
+-- Revert guix-data-service:load_new_guix_revision_job_events from pg
+
+BEGIN;
+
+DROP TABLE load_new_guix_revision_job_events;
+
+ALTER TABLE load_new_guix_revision_jobs
+ DROP CONSTRAINT load_new_guix_revision_jobs_id;
+
+DROP TYPE IF EXISTS job_event;
+
+COMMIT;