guix-data-service/sqitch/deploy/remove_package_metadata_sha1_hash.sql
Christopher Baines 8eac26b17d 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.
2019-05-12 18:08:17 +01:00

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;