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 <yinw@vmware.com>
This commit is contained in:
Wenkai Yin 2020-07-09 11:04:44 +08:00
parent 3b2934bf48
commit cd6c1b8c31

View File

@ -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,