2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/data-service.git synced 2023-12-14 03:23:03 +01:00
data-service/sqitch/verify/sort_out_duplicate_builds.sql
Christopher Baines 0291bda98a 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.
2019-12-12 20:07:22 +00:00

8 lines
111 B
PL/PgSQL

-- Verify guix-data-service:sort_out_duplicate_builds on pg
BEGIN;
-- XXX Add verifications here.
ROLLBACK;