aboutsummaryrefslogtreecommitdiff
path: root/sqitch/revert
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-08-01 14:12:48 +0100
committerChristopher Baines <mail@cbaines.net>2023-08-01 14:12:48 +0100
commit1461aa037fa64b3b4694428a1e00239f3f592ff5 (patch)
tree38ec3c802e2d15c8f9d18316449fc25ecbe1e622 /sqitch/revert
parent7495085f631a3589ecdf5f282b750a318b422394 (diff)
downloaddata-service-1461aa037fa64b3b4694428a1e00239f3f592ff5.tar
data-service-1461aa037fa64b3b4694428a1e00239f3f592ff5.tar.gz
Make database changes to help with deleting entries in the nars table
Diffstat (limited to 'sqitch/revert')
-rw-r--r--sqitch/revert/cascade_nar_foreign_keys.sql7
-rw-r--r--sqitch/revert/nar_indexes.sql7
2 files changed, 14 insertions, 0 deletions
diff --git a/sqitch/revert/cascade_nar_foreign_keys.sql b/sqitch/revert/cascade_nar_foreign_keys.sql
new file mode 100644
index 0000000..2e9d7f3
--- /dev/null
+++ b/sqitch/revert/cascade_nar_foreign_keys.sql
@@ -0,0 +1,7 @@
+-- Revert guix-data-service:cascade_nar_foreign_keys from pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/revert/nar_indexes.sql b/sqitch/revert/nar_indexes.sql
new file mode 100644
index 0000000..f98c6b8
--- /dev/null
+++ b/sqitch/revert/nar_indexes.sql
@@ -0,0 +1,7 @@
+-- Revert guix-data-service:nar_indexes from pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;