diff --git a/script/1.0.3/schema/11.update_resource.sql b/script/1.0.3/schema/11.update_resource.sql new file mode 100644 index 0000000..eed80bf --- /dev/null +++ b/script/1.0.3/schema/11.update_resource.sql @@ -0,0 +1,9 @@ +INSERT INTO public.resource (code, name, parent_resource) VALUES ('SHENHE', '审核', 'WENTICHULI'); +INSERT INTO public.resource (code, name, parent_resource) VALUES ('ZHIDINGJIHUA', '制定计划', 'WENTICHULI'); +INSERT INTO public.resource (code, name, parent_resource) VALUES ('CHAKANXIANGQING', '查看详情', 'WENTICHULI'); +DELETE FROM public.user_resource WHERE id = 16; +DELETE FROM public.user_resource WHERE id = 17; +DELETE FROM public.user_resource WHERE id = 18; +INSERT INTO public.user_resource (id,user_id,resource) VALUES (16, 1, 'SHENHE'); +INSERT INTO public.user_resource (id,user_id,resource) VALUES (17, 1, 'ZHIDINGJIHUA'); +INSERT INTO public.user_resource (id,user_id,resource) VALUES (18, 1, 'CHAKANXIANGQING'); \ No newline at end of file