aboutsummaryrefslogtreecommitdiff
path: root/sqitch/verify
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-05-12 17:01:51 +0100
committerChristopher Baines <mail@cbaines.net>2019-05-12 18:08:17 +0100
commit8eac26b17d996e3e171c92e43536333daf72b7c9 (patch)
tree72cd6fdf496b4bb5b1c21713fe4395d0dc429623 /sqitch/verify
parent0ab1c71722e81404972f80c91c9717e429d03ec3 (diff)
downloaddata-service-8eac26b17d996e3e171c92e43536333daf72b7c9.tar
data-service-8eac26b17d996e3e171c92e43536333daf72b7c9.tar.gz
Remove the sha1_hash from the package_metadata table
I'm thinking about adding more fields to this table, and the sha1_hash values will make this tricker. Therefore, remove the value, and adjust the existing code to cope. This commit also adds a new test which coveres some of the changed functionality.
Diffstat (limited to 'sqitch/verify')
-rw-r--r--sqitch/verify/remove_package_metadata_sha1_hash.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/verify/remove_package_metadata_sha1_hash.sql b/sqitch/verify/remove_package_metadata_sha1_hash.sql
new file mode 100644
index 0000000..4118a6e
--- /dev/null
+++ b/sqitch/verify/remove_package_metadata_sha1_hash.sql
@@ -0,0 +1,7 @@
+-- Verify guix-data-service:remove_package_metadata_sha1_hash on pg
+
+BEGIN;
+
+-- XXX Add verifications here.
+
+ROLLBACK;