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.
This commit is contained in:
parent
0ab1c71722
commit
8eac26b17d
7 changed files with 97 additions and 44 deletions
7
sqitch/deploy/remove_package_metadata_sha1_hash.sql
Normal file
7
sqitch/deploy/remove_package_metadata_sha1_hash.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- Deploy guix-data-service:remove_package_metadata_sha1_hash to pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE package_metadata DROP COLUMN sha1_hash;
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue