aboutsummaryrefslogtreecommitdiff
path: root/sqitch/deploy
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-03-07 09:44:47 +0000
committerChristopher Baines <mail@cbaines.net>2024-03-07 10:02:18 +0000
commit5f80856ad1587aea38ee4e7b54db558cdb43f6b7 (patch)
tree78a84d1551299861259f4b93991283bdd0da00f2 /sqitch/deploy
parent184d3416717971cdf0c8b84709a7180efd5127b9 (diff)
downloaddata-service-5f80856ad1587aea38ee4e7b54db558cdb43f6b7.tar
data-service-5f80856ad1587aea38ee4e7b54db558cdb43f6b7.tar.gz
Allow prioritising jobs from specific repositories
To help the QA data service prioritise branches over patches.
Diffstat (limited to 'sqitch/deploy')
-rw-r--r--sqitch/deploy/git_repositories_job_priority.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/deploy/git_repositories_job_priority.sql b/sqitch/deploy/git_repositories_job_priority.sql
new file mode 100644
index 0000000..65f44e3
--- /dev/null
+++ b/sqitch/deploy/git_repositories_job_priority.sql
@@ -0,0 +1,7 @@
+-- Deploy guix-data-service:git_repositories_job_priority to pg
+
+BEGIN;
+
+ALTER TABLE git_repositories ADD COLUMN job_priority INTEGER NOT NULL DEFAULT 0;
+
+COMMIT;