From cd6c1b8c318b51a0059cfd6bacad13c18823f0a2 Mon Sep 17 00:00:00 2001 From: Wenkai Yin Date: Thu, 9 Jul 2020 11:04:44 +0800 Subject: [PATCH] Rename "reuse_sys_cve_whitelist" to "reuse_sys_cve_allowlist" Rename "reuse_sys_cve_whitelist" to "reuse_sys_cve_allowlist" in project metadata Signed-off-by: Wenkai Yin --- make/migrations/postgresql/0040_2.1.0_schema.up.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/make/migrations/postgresql/0040_2.1.0_schema.up.sql b/make/migrations/postgresql/0040_2.1.0_schema.up.sql index 116295f9e..ced759a76 100644 --- a/make/migrations/postgresql/0040_2.1.0_schema.up.sql +++ b/make/migrations/postgresql/0040_2.1.0_schema.up.sql @@ -1,6 +1,7 @@ ALTER TABLE project ADD COLUMN IF NOT EXISTS registry_id int; ALTER TABLE IF EXISTS cve_whitelist RENAME TO cve_allowlist; UPDATE role SET name='maintainer' WHERE name='master'; +UPDATE project_metadata SET name='reuse_sys_cve_allowlist' WHERE name='reuse_sys_cve_whitelist'; CREATE TABLE IF NOT EXISTS execution ( id SERIAL NOT NULL,