diff --git a/views/031_casbin_effect.sql b/views/031_casbin_effect.sql index 17c85b78..fb97cb8e 100644 --- a/views/031_casbin_effect.sql +++ b/views/031_casbin_effect.sql @@ -1 +1,3 @@ -UPDATE casbin_rule SET v3 = 'allow' WHERE ptype = 'p' and (v3 is null or v3 = '') +UPDATE casbin_rule SET v3 = 'allow' WHERE ptype = 'p' and (v3 is null or v3 = ''); + +UPDATE casbin_rule SET v4 = 'true' WHERE ptype = 'p' and (v4 is null OR v4 = ''); \ No newline at end of file