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:
Christopher Baines 2019-05-12 17:01:51 +01:00
parent 0ab1c71722
commit 8eac26b17d
7 changed files with 97 additions and 44 deletions

View file

@ -0,0 +1,7 @@
-- Revert guix-data-service:remove_package_metadata_sha1_hash from pg
BEGIN;
-- XXX Add DDLs here.
COMMIT;