mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-27 19:17:47 +01:00
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
2
make/migrations/postgresql/0090_2.6.0_schema.up.sql
Normal file
2
make/migrations/postgresql/0090_2.6.0_schema.up.sql
Normal file
@ -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
Block a user