diff --git a/views/031_casbin_effect.sql b/views/031_casbin_effect.sql index fb97cb8e..e459a0a7 100644 --- a/views/031_casbin_effect.sql +++ b/views/031_casbin_effect.sql @@ -1,3 +1,5 @@ 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 +UPDATE casbin_rule SET v4 = 'true' WHERE ptype = 'p' and (v4 is null OR v4 = ''); + +UPDATE casbin_rule SET v5 = 'na' WHERE ptype = 'p' and (v5 is null OR v5 = '');