aboutsummaryrefslogtreecommitdiff
path: root/sqitch/revert/change_package_derivations_target.sql
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-02-08 11:16:08 +0000
committerChristopher Baines <mail@cbaines.net>2020-02-08 11:16:08 +0000
commitf1989e8758b89b2750f7a546871c0721ab9f9839 (patch)
treea762d9a8be4ba668d8f823f410134b43303eab3c /sqitch/revert/change_package_derivations_target.sql
parent77beb5949511db7fc5236567b8b1d25d98f82bbb (diff)
downloaddata-service-f1989e8758b89b2750f7a546871c0721ab9f9839.tar
data-service-f1989e8758b89b2750f7a546871c0721ab9f9839.tar.gz
Rework cross derivations support
Stop using the system values as targets, and remove package derivation entries where this is the case. Switch the non-cross derivation case to have a target of "", rather than matching the system, as this makes more sense, and is more consistent now that the target values no longer match the system values. Hardcode some more correct target values, and use these instead. Hopefully this can be better integrated with Guix in the future. This commit also includes a migration attempting to shrink some indexes.
Diffstat (limited to 'sqitch/revert/change_package_derivations_target.sql')
-rw-r--r--sqitch/revert/change_package_derivations_target.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/revert/change_package_derivations_target.sql b/sqitch/revert/change_package_derivations_target.sql
new file mode 100644
index 0000000..febb75b
--- /dev/null
+++ b/sqitch/revert/change_package_derivations_target.sql
@@ -0,0 +1,7 @@
+-- Revert guix-data-service:change_package_derivations_target from pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;