Merge pull request #12432 from ywk253100/200709_allowlist

Rename "reuse_sys_cve_whitelist" to "reuse_sys_cve_allowlist"
This commit is contained in:
Daniel Jiang 2020-07-13 16:42:43 +08:00 committed by GitHub
commit e96165412d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
ALTER TABLE project ADD COLUMN IF NOT EXISTS registry_id int; ALTER TABLE project ADD COLUMN IF NOT EXISTS registry_id int;
ALTER TABLE IF EXISTS cve_whitelist RENAME TO cve_allowlist; ALTER TABLE IF EXISTS cve_whitelist RENAME TO cve_allowlist;
UPDATE role SET name='maintainer' WHERE name='master'; 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 ( CREATE TABLE IF NOT EXISTS execution (
id SERIAL NOT NULL, id SERIAL NOT NULL,