diff --git a/migrations/20240921151751_0.sql b/migrations/20240921151751_0.sql index 4dbac9c..f46ee7e 100644 --- a/migrations/20240921151751_0.sql +++ b/migrations/20240921151751_0.sql @@ -1,5 +1,8 @@ create schema if not exists underway; +-- Force anything running this migration to use the right search path. +set local search_path to underway; + -- Manage Underway migrations within the Underway schema. create table if not exists underway._sqlx_migrations (like public._sqlx_migrations including all); diff --git a/migrations/20241024174106_1.sql b/migrations/20241024174106_1.sql index 0fed87d..fe3f0ae 100644 --- a/migrations/20241024174106_1.sql +++ b/migrations/20241024174106_1.sql @@ -1,3 +1,6 @@ +-- Force anything running this migration to use the right search path. +set local search_path to underway; + -- function to notify about task changes create or replace function underway.task_change_notify() returns trigger as $$