Merge pull request #16597 from chlins/migrations/correct-project-metadata-public-value

migrations: correct project metadata public value
This commit is contained in:
Chenyu Zhang 2022-03-29 14:15:06 +08:00 committed by GitHub
commit fe3c0bd183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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