diff options
author | Christopher Baines <mail@cbaines.net> | 2023-04-23 20:52:39 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-04-23 21:23:21 +0100 |
commit | 28d0ca2690bfb01f6dea0e79cc4d28fdfa23b4b0 (patch) | |
tree | 1966ec09cd6d252b2ff669cd7213a38bef59d0e7 /sqitch/sqlite | |
parent | cf1900eb26700e36a0a78e0b8b4415d58519df15 (diff) | |
download | build-coordinator-28d0ca2690bfb01f6dea0e79cc4d28fdfa23b4b0.tar build-coordinator-28d0ca2690bfb01f6dea0e79cc4d28fdfa23b4b0.tar.gz |
Use an in memory table for the build_allocation_plan
Since this doesn't need to be persisted and changes often.
Diffstat (limited to 'sqitch/sqlite')
-rw-r--r-- | sqitch/sqlite/deploy/remove_build_allocation_plan.sql | 7 | ||||
-rw-r--r-- | sqitch/sqlite/revert/remove_build_allocation_plan.sql | 7 | ||||
-rw-r--r-- | sqitch/sqlite/verify/remove_build_allocation_plan.sql | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/sqitch/sqlite/deploy/remove_build_allocation_plan.sql b/sqitch/sqlite/deploy/remove_build_allocation_plan.sql new file mode 100644 index 0000000..8bdc7c7 --- /dev/null +++ b/sqitch/sqlite/deploy/remove_build_allocation_plan.sql @@ -0,0 +1,7 @@ +-- Deploy guix-build-coordinator:remove_build_allocation_plan to sqlite + +BEGIN; + +DROP TABLE build_allocation_plan; + +COMMIT; diff --git a/sqitch/sqlite/revert/remove_build_allocation_plan.sql b/sqitch/sqlite/revert/remove_build_allocation_plan.sql new file mode 100644 index 0000000..46a102e --- /dev/null +++ b/sqitch/sqlite/revert/remove_build_allocation_plan.sql @@ -0,0 +1,7 @@ +-- Revert guix-build-coordinator:remove_build_allocation_plan from sqlite + +BEGIN; + +-- XXX Add DDLs here. + +COMMIT; diff --git a/sqitch/sqlite/verify/remove_build_allocation_plan.sql b/sqitch/sqlite/verify/remove_build_allocation_plan.sql new file mode 100644 index 0000000..7158794 --- /dev/null +++ b/sqitch/sqlite/verify/remove_build_allocation_plan.sql @@ -0,0 +1,7 @@ +-- Verify guix-build-coordinator:remove_build_allocation_plan on sqlite + +BEGIN; + +-- XXX Add verifications here. + +ROLLBACK; |