diff --git a/script/1.0.3/schema/10.update_user_resource.sql b/script/1.0.3/schema/10.update_user_resource.sql new file mode 100644 index 0000000..3f28473 --- /dev/null +++ b/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'); \ No newline at end of file diff --git a/script/1.0.3/schema/9.update_resource.sql b/script/1.0.3/schema/9.update_resource.sql new file mode 100644 index 0000000..90e1b98 --- /dev/null +++ b/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'); \ No newline at end of file