aboutsummaryrefslogtreecommitdiff
path: root/sqitch/deploy
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-10-07 18:50:13 +0100
committerChristopher Baines <mail@cbaines.net>2020-10-07 18:50:13 +0100
commit9f9c23010e79ea2d1dc400fa5d48562b05d9be29 (patch)
treef76aaa3f89d61de3f6977e44863bc54c5866d714 /sqitch/deploy
parent888d9fcb98c6d697120993efe0b3bbd175bf37d7 (diff)
downloaddata-service-9f9c23010e79ea2d1dc400fa5d48562b05d9be29.tar
data-service-9f9c23010e79ea2d1dc400fa5d48562b05d9be29.tar.gz
Support storing whether to authenticate commits by git repository
To allow using the Guix Data Service when commits aren't authenticated.
Diffstat (limited to 'sqitch/deploy')
-rw-r--r--sqitch/deploy/git_repositories_add_fetch_with_authentication_field.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sqitch/deploy/git_repositories_add_fetch_with_authentication_field.sql b/sqitch/deploy/git_repositories_add_fetch_with_authentication_field.sql
new file mode 100644
index 0000000..6734899
--- /dev/null
+++ b/sqitch/deploy/git_repositories_add_fetch_with_authentication_field.sql
@@ -0,0 +1,8 @@
+-- Deploy guix-data-service:git_repositories_add_fetch_with_authentication_field to pg
+
+BEGIN;
+
+ALTER TABLE git_repositories
+ ADD COLUMN fetch_with_authentication boolean NOT NULL DEFAULT TRUE;
+
+COMMIT;