Browse Source

添加权限脚本

master
dengyinhuan 2 years ago
parent
commit
b51e97e903
  1. 4
      script/1.0.3/schema/10.update_user_resource.sql
  2. 2
      script/1.0.3/schema/9.update_resource.sql

4
script/1.0.3/schema/10.update_user_resource.sql

@ -0,0 +1,4 @@
DELETE FROM public.user_resource WHERE id = 14;
DELETE FROM public.user_resource WHERE id = 15;
INSERT INTO public.user_resource (id,user_id,resource) VALUES (14, 1, 'WENTICHULI');
INSERT INTO public.user_resource (id,user_id,resource) VALUES (15, 1, 'XIUGAIJIUHA');

2
script/1.0.3/schema/9.update_resource.sql

@ -0,0 +1,2 @@
INSERT INTO public.resource (code, name, parent_resource) VALUES ('WENTICHULI', '问题处理', NULL);
INSERT INTO public.resource (code, name, parent_resource) VALUES ('XIUGAIJIUHA', '修改计划', 'WENTICHULI');
Loading…
Cancel
Save