aboutsummaryrefslogtreecommitdiff
path: root/sqitch/deploy
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-01-05 12:16:21 +0000
committerChristopher Baines <mail@cbaines.net>2020-01-05 12:16:21 +0000
commit1679c985c4ec3ccaa1d39b0537ad7fe795103782 (patch)
tree74b0f5f3f55c857117a74a7caf7168bc061d74fc /sqitch/deploy
parentc388f3ee1350ed0cee9d31c4f53011449a17f828 (diff)
downloaddata-service-1679c985c4ec3ccaa1d39b0537ad7fe795103782.tar
data-service-1679c985c4ec3ccaa1d39b0537ad7fe795103782.tar.gz
Add a table to configure which build servers build what
Diffstat (limited to 'sqitch/deploy')
-rw-r--r--sqitch/deploy/build_servers_build_config.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sqitch/deploy/build_servers_build_config.sql b/sqitch/deploy/build_servers_build_config.sql
new file mode 100644
index 0000000..3ffbadd
--- /dev/null
+++ b/sqitch/deploy/build_servers_build_config.sql
@@ -0,0 +1,12 @@
+-- Deploy guix-data-service:build_servers_build_config to pg
+
+BEGIN;
+
+CREATE TABLE build_servers_build_config (
+ build_server_id integer REFERENCES build_servers(id),
+ system varchar NOT NULL,
+ target varchar NOT NULL,
+ PRIMARY KEY (build_server_id, system, target)
+);
+
+COMMIT;