diff --git a/scripts/1.2.2/schema/4.insert_resource.sql b/scripts/1.2.2/schema/4.insert_resource.sql index e07ccc79..db2a65f3 100644 --- a/scripts/1.2.2/schema/4.insert_resource.sql +++ b/scripts/1.2.2/schema/4.insert_resource.sql @@ -1,19 +1,19 @@ -INSERT INTO public.resource (code, name, parent_resource) VALUES ('ALLSELECT', '全选', null); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('USERMANAGE', '用户管理', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('AUTHORIMANAGE', '权限管理', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('OVERLOADMANAGE', '治超管理', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('ROADMANAGE', '道路管理', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('BRIDGEMANAGE', '桥梁管理', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('MAINTENANCEMANAGE', '管养管理', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('TRANSPORTATIONMANAGE', '运政管理', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('CONSERVATIONMANAGE', '养护管理', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('PATROLMANAGE', '巡查管理', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('PUBLICTRANSPORTMANAGE', '公交管理', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('FILEMANAGE', '档案管理', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('PUBLICITYVIDEO', '宣传视频', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('FEEDBACKMANAGE', '异常反馈', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('REPORTMANAGE', '建设上报', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('WXPATROLREPORT', '小程序巡查上报', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('WXMAINTENANCEREPORT', '小程序养护上报', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('WXFEEDBACKMANAGE', '小程序异常反馈', 'ALLSELECT'); -INSERT INTO public.resource (code, name, parent_resource) VALUES ('WXBUILDINGROAD', '小程序在建道路', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('ALLSELECT', '全选', null); +INSERT INTO resource (code, name, parent_resource) VALUES ('USERMANAGE', '用户管理', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('AUTHORIMANAGE', '权限管理', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('OVERLOADMANAGE', '治超管理', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('ROADMANAGE', '道路管理', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('BRIDGEMANAGE', '桥梁管理', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('MAINTENANCEMANAGE', '管养管理', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('TRANSPORTATIONMANAGE', '运政管理', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('CONSERVATIONMANAGE', '养护管理', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('PATROLMANAGE', '巡查管理', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('PUBLICTRANSPORTMANAGE', '公交管理', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('FILEMANAGE', '档案管理', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('PUBLICITYVIDEO', '宣传视频', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('FEEDBACKMANAGE', '异常反馈', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('REPORTMANAGE', '建设上报', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('WXPATROLREPORT', '小程序巡查上报', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('WXMAINTENANCEREPORT', '小程序养护上报', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('WXFEEDBACKMANAGE', '小程序异常反馈', 'ALLSELECT'); +INSERT INTO resource (code, name, parent_resource) VALUES ('WXBUILDINGROAD', '小程序在建道路', 'ALLSELECT'); diff --git a/scripts/1.2.2/5.update_user_resource.sql b/scripts/1.2.2/schema/5.update_user_resource.sql similarity index 100% rename from scripts/1.2.2/5.update_user_resource.sql rename to scripts/1.2.2/schema/5.update_user_resource.sql