Skip to content

Commit c71198f

Browse files
committed
Use RESET ALL where needed, not otherwise
1 parent 0d7ccda commit c71198f

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

packages/database/supabase/schemas/concept.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,3 @@ ADD CONSTRAINT "Concept_space_id_fkey" FOREIGN KEY (
8686
GRANT ALL ON TABLE public."Concept" TO anon;
8787
GRANT ALL ON TABLE public."Concept" TO authenticated;
8888
GRANT ALL ON TABLE public."Concept" TO service_role;
89-
90-
91-
RESET ALL;

packages/database/supabase/schemas/embedding.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ ALTER FUNCTION public.match_embeddings_for_subset_nodes (
9898
"p_query_embedding" extensions.vector, "p_subset_roam_uids" Text [])
9999
OWNER TO "postgres" ;
100100

101-
set search_path to '' ;
101+
RESET ALL;

packages/database/supabase/schemas/sync.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ CREATE UNIQUE INDEX sync_info_u_idx ON public.sync_info USING btree (
4444
"sync_target", sync_function
4545
);
4646

47+
set search_path to public, extensions ;
4748

4849

4950
CREATE OR REPLACE FUNCTION public.end_sync_task(

0 commit comments

Comments
 (0)