From 5277ad223c39b5c566f4d8208b54876f3d2e4ac2 Mon Sep 17 00:00:00 2001 From: Aditya Thebe Date: Wed, 25 Sep 2024 20:45:10 +0545 Subject: [PATCH] feat: casbin policy schema change --- views/031_casbin_effect.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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