aboutsummaryrefslogtreecommitdiff
path: root/sqitch/sqitch.plan
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-12-05 14:10:09 +0100
committerChristopher Baines <mail@cbaines.net>2019-12-12 20:07:22 +0000
commit0291bda98abf4cf4299434ed304aa72846f405dd (patch)
treee55912d1c0a6170be179139891576f15a25d93ee /sqitch/sqitch.plan
parent8a5beb7f8813ec6ecca3d1e8da256bbbbcc67a36 (diff)
downloaddata-service-0291bda98abf4cf4299434ed304aa72846f405dd.tar
data-service-0291bda98abf4cf4299434ed304aa72846f405dd.tar.gz
Deduplicate builds and add a unique index
Duplicate builds could creep in if the code to create them ran concurrently. I didn't exclude them initially, as I was unsure if there should be such a restriction, but at least for now, Cuirass builds map exactly to a single derivation, so use the same restriction here.
Diffstat (limited to 'sqitch/sqitch.plan')
-rw-r--r--sqitch/sqitch.plan1
1 files changed, 1 insertions, 0 deletions
diff --git a/sqitch/sqitch.plan b/sqitch/sqitch.plan
index ee65c61..c323eef 100644
--- a/sqitch/sqitch.plan
+++ b/sqitch/sqitch.plan
@@ -34,3 +34,4 @@ add_index_on_builds_derivation_file_name 2019-12-03T16:23:55Z <chris@phact> #
narinfo_fetch_record 2019-12-03T20:53:28Z <chris@phact> # Add a table to describe fetching a narinfo
change_nars_size_to_bigint 2019-12-04T21:24:21Z <chris@phact> # Change nars.size to bigint
change_nar_urls_size_to_bigint 2019-12-04T21:49:07Z <chris@phact> # Change nar_urls.size to bigint
+sort_out_duplicate_builds 2019-12-05T12:43:53Z <chris@phact> # Sort out duplicate builds