mirror of https://github.com/goharbor/harbor.git
Merge pull request #16597 from chlins/migrations/correct-project-metadata-public-value
migrations: correct project metadata public value
This commit is contained in:
commit
fe3c0bd183
|
@ -0,0 +1,2 @@
|
|||
/* Correct project_metadata.public value, should only be true or false, other invaild value will be rewrite to false */
|
||||
UPDATE project_metadata SET value='false' WHERE name='public' AND value NOT IN('true', 'false');
|
Loading…
Reference in New Issue