Skip to content

Commit

Permalink
Build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjameson committed Apr 18, 2024
1 parent 20b9fe4 commit dac51cd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
15 changes: 8 additions & 7 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@
{
"id": "6a4fec4c-a1c3-4d20-8451-c6ecba886a82",
"table_name": "context_users",
"operation": "DELETE"
"operation": "DELETE"
},
{
"id": "79cd967d-f268-4bb8-9e84-0eafeac3307f",
"table_name": "installed_plugins",
"operation": "SELECT"
Expand All @@ -60,7 +61,7 @@
},
{
"id": "b92a5f03-ac77-4f0e-907a-873c9d2f78bf",
"table_name": "installed_plugins
"table_name": "installed_plugins",
"operation": "DELETE"
},
{
Expand Down Expand Up @@ -605,7 +606,7 @@
"51eb3610-a7ee-4fd6-9a71-65214aee0dd7",
"3aa4d2bf-2127-4c66-8858-e9a6b59dbd07",
"0377daa4-38b3-459d-8715-999532af1cb1",
"6a4fec4c-a1c3-4d20-8451-c6ecba886a82"
"6a4fec4c-a1c3-4d20-8451-c6ecba886a82",
"79cd967d-f268-4bb8-9e84-0eafeac3307f",
"d651e790-2dc2-4522-b876-9f27af71c5f6",
"0b7820da-aceb-442e-9a5d-3fb3fcaa5254",
Expand Down Expand Up @@ -699,7 +700,7 @@
"28a43878-359f-4761-9a45-573fc7b593b1",
"51eb3610-a7ee-4fd6-9a71-65214aee0dd7",
"3aa4d2bf-2127-4c66-8858-e9a6b59dbd07",
"0377daa4-38b3-459d-8715-999532af1cb1"
"0377daa4-38b3-459d-8715-999532af1cb1",
"79cd967d-f268-4bb8-9e84-0eafeac3307f",
"d651e790-2dc2-4522-b876-9f27af71c5f6",
"0b7820da-aceb-442e-9a5d-3fb3fcaa5254",
Expand Down Expand Up @@ -743,7 +744,7 @@
"28a43878-359f-4761-9a45-573fc7b593b1",
"0377daa4-38b3-459d-8715-999532af1cb1",
"3aa4d2bf-2127-4c66-8858-e9a6b59dbd07",
"51eb3610-a7ee-4fd6-9a71-65214aee0dd7"
"51eb3610-a7ee-4fd6-9a71-65214aee0dd7",
"6ec09042-5dc0-4593-b506-d4c57c3e14cd"
]
},
Expand All @@ -761,7 +762,7 @@
"2cb6d98c-14d8-44bd-a977-1ca1116fc44f",
"b716be7a-81b6-4d0a-a55c-a7ca60352ef3",
"a4b82076-cf7d-4f7a-b24d-f12587d71590",
"51eb3610-a7ee-4fd6-9a71-65214aee0dd7"
"51eb3610-a7ee-4fd6-9a71-65214aee0dd7",
"79cd967d-f268-4bb8-9e84-0eafeac3307f"
]
},
Expand Down Expand Up @@ -790,7 +791,7 @@
"6ec09042-5dc0-4593-b506-d4c57c3e14cd",
"a4b82076-cf7d-4f7a-b24d-f12587d71590",
"51eb3610-a7ee-4fd6-9a71-65214aee0dd7",
"b716be7a-81b6-4d0a-a55c-a7ca60352ef3"
"b716be7a-81b6-4d0a-a55c-a7ca60352ef3",
"79cd967d-f268-4bb8-9e84-0eafeac3307f"
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -966,8 +966,8 @@ BEGIN
UPDATE public.layer_contexts SET is_active_layer = TRUE WHERE context_id = _context_id;

-- Create the context_documents entry
INSERT INTO public.context_documents (context_id, document_id) VALUES (_context_id, _t_row_layer.document_id);

INSERT INTO public.context_documents (context_id, document_id) VALUES (_context_id, _t_row_layer.document_id) ON CONFLICT DO NOTHING;
-- Now create the context_user entry
-- At this point there should only be the default layer groups with users
SELECT dg.role_id INTO _default_layer_role_id
Expand Down

0 comments on commit dac51cd

Please sign in to comment.