aboutsummaryrefslogtreecommitdiff
path: root/sqitch/deploy
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-02-13 20:13:46 +0000
committerChristopher Baines <mail@cbaines.net>2020-02-13 23:11:36 +0000
commitdfccbf911c7badfdffc96398d0967e86a55da80e (patch)
tree52c20827a82c8e217d40dc502ccd3110006834a5 /sqitch/deploy
parent5410961f659cafd484e5bf7234e7cbd464a822a7 (diff)
downloaddata-service-dfccbf911c7badfdffc96398d0967e86a55da80e.tar
data-service-dfccbf911c7badfdffc96398d0967e86a55da80e.tar.gz
Update the build_servers_build_config values
Change target to '' if it matches system, as this matches the updated way of storing derivations.
Diffstat (limited to 'sqitch/deploy')
-rw-r--r--sqitch/deploy/update_build_servers_build_config.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/deploy/update_build_servers_build_config.sql b/sqitch/deploy/update_build_servers_build_config.sql
new file mode 100644
index 0000000..6fd0469
--- /dev/null
+++ b/sqitch/deploy/update_build_servers_build_config.sql
@@ -0,0 +1,7 @@
+-- Deploy guix-data-service:update_build_servers_build_config to pg
+
+BEGIN;
+
+UPDATE build_servers_build_config SET target = '' WHERE system = target;
+
+COMMIT;