diff options
author | Christopher Baines <mail@cbaines.net> | 2020-06-30 18:30:01 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-07-01 09:35:29 +0100 |
commit | 5ee82075656609e4b2cd03a304162959147f929c (patch) | |
tree | e5f332cf278961a1786fe1f2a0c3203bc4695c88 /sqitch/revert | |
parent | 919255033121c0aeab6c4c16d58359a07b3408b5 (diff) | |
download | data-service-5ee82075656609e4b2cd03a304162959147f929c.tar data-service-5ee82075656609e4b2cd03a304162959147f929c.tar.gz |
Avoid duplicate build status entries
This effectively makes adding build status entries idempotent to some degree.
Diffstat (limited to 'sqitch/revert')
-rw-r--r-- | sqitch/revert/build_status_add_unique_index.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/revert/build_status_add_unique_index.sql b/sqitch/revert/build_status_add_unique_index.sql new file mode 100644 index 0000000..2f801ee --- /dev/null +++ b/sqitch/revert/build_status_add_unique_index.sql @@ -0,0 +1,7 @@ +-- Revert guix-data-service:build_status_add_unique_index from pg + +BEGIN; + +-- XXX Add DDLs here. + +COMMIT; |