Skip to content

Commit

Permalink
migrations: correct project metadata public value
Browse files Browse the repository at this point in the history
Signed-off-by: chlins <chenyuzh@vmware.com>
  • Loading branch information
chlins committed Mar 28, 2022
1 parent a0fcb91 commit f7d1047
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make/migrations/postgresql/0090_2.6.0_schema.up.sql
Original file line number Diff line number Diff line change
@@ -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');

0 comments on commit f7d1047

Please sign in to comment.