migrations: correct project metadata public value

Signed-off-by: chlins <chenyuzh@vmware.com>
This commit is contained in:
chlins 2022-03-28 15:15:14 +08:00
parent a0fcb91492
commit f7d10474d1

View 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');