mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 07:09:07 +03:00
Merge pull request #4982 from bnjmnt4n/docker/postgrest-notify
docker: properly notify PostgREST to reload schema cache on DDL command end
This commit is contained in:
1 file changed
+1
-1
@@ -4,7 +4,7 @@ RETURNS event_trigger
|
||||
LANGUAGE plpgsql
|
||||
AS $$
|
||||
BEGIN
|
||||
NOTIFY ddl_command_end;
|
||||
NOTIFY pgrst, 'reload schema';
|
||||
END;
|
||||
$$;
|
||||
CREATE EVENT TRIGGER api_restart ON ddl_command_end
|
||||
|
||||
Reference in new issue
Block a user