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.
7 lines
138 B
PL/PgSQL
7 lines
138 B
PL/PgSQL
-- Deploy guix-data-service:remove_package_metadata_sha1_hash to pg
|
|
|
|
BEGIN;
|
|
|
|
ALTER TABLE package_metadata DROP COLUMN sha1_hash;
|
|
|
|
COMMIT;
|