diff --git a/script/1.0.3/schema/12.update_resource.sql b/script/1.0.3/schema/12.update_resource.sql new file mode 100644 index 0000000..e631a00 --- /dev/null +++ b/script/1.0.3/schema/12.update_resource.sql @@ -0,0 +1,3 @@ +INSERT INTO public.resource (code, name, parent_resource) VALUES ('CHECKREPORT', '巡检报告', 'PATROL_MANAGE'); +DELETE FROM public.user_resource WHERE id = 19; +INSERT INTO public.user_resource (id,user_id,resource) VALUES (19, 1, 'CHECKREPORT'); \ No newline at end of file