mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-28 13:15:33 +01:00
migrations: correct project metadata public value
Signed-off-by: chlins <chenyuzh@vmware.com>
This commit is contained in:
parent
a0fcb91492
commit
f7d10474d1
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