diff options
author | Christopher Baines <mail@cbaines.net> | 2020-12-16 06:43:20 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-12-16 06:43:20 +0000 |
commit | 7bd76b74e0e57045b3af23683d3ca72803bfd7be (patch) | |
tree | 12b821fd88093825b7a45756f1b79c067a5613ca /sqitch/sqlite | |
parent | a6c75d2053908b058c6c877efc0eaae5d43d5cb6 (diff) | |
download | build-coordinator-7bd76b74e0e57045b3af23683d3ca72803bfd7be.tar build-coordinator-7bd76b74e0e57045b3af23683d3ca72803bfd7be.tar.gz |
Implement build cancelation
Diffstat (limited to 'sqitch/sqlite')
-rw-r--r-- | sqitch/sqlite/deploy/support_build_cancelation.sql | 7 | ||||
-rw-r--r-- | sqitch/sqlite/revert/support_build_cancelation.sql | 7 | ||||
-rw-r--r-- | sqitch/sqlite/verify/support_build_cancelation.sql | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/sqitch/sqlite/deploy/support_build_cancelation.sql b/sqitch/sqlite/deploy/support_build_cancelation.sql new file mode 100644 index 0000000..445a033 --- /dev/null +++ b/sqitch/sqlite/deploy/support_build_cancelation.sql @@ -0,0 +1,7 @@ +-- Deploy guix-build-coordinator:support_build_cancelation to sqlite + +BEGIN; + +ALTER TABLE builds ADD COLUMN canceled BOOLEAN NOT NULL DEFAULT 0; + +COMMIT; diff --git a/sqitch/sqlite/revert/support_build_cancelation.sql b/sqitch/sqlite/revert/support_build_cancelation.sql new file mode 100644 index 0000000..d62cee4 --- /dev/null +++ b/sqitch/sqlite/revert/support_build_cancelation.sql @@ -0,0 +1,7 @@ +-- Revert guix-build-coordinator:support_build_cancelation from sqlite + +BEGIN; + +-- XXX Add DDLs here. + +COMMIT; diff --git a/sqitch/sqlite/verify/support_build_cancelation.sql b/sqitch/sqlite/verify/support_build_cancelation.sql new file mode 100644 index 0000000..1ab5d2a --- /dev/null +++ b/sqitch/sqlite/verify/support_build_cancelation.sql @@ -0,0 +1,7 @@ +-- Verify guix-build-coordinator:support_build_cancelation on sqlite + +BEGIN; + +-- XXX Add verifications here. + +ROLLBACK; |