mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
fix(database): enable pg_net extension
Install the extension required by notification triggers and cron jobs so fresh local and preview databases expose net.http_post before fixtures are seeded.
This commit is contained in:
1 parent
024dc4d288
commit
d43ae1ef05
1 file changed
+4
@@ -0,0 +1,4 @@
|
|||||||
|
-- Notification triggers and scheduled jobs call net.http_post.
|
||||||
|
-- Keep the extension in migrations so clean local and preview databases have
|
||||||
|
-- the same dependency as hosted environments.
|
||||||
|
CREATE EXTENSION IF NOT EXISTS pg_net WITH SCHEMA extensions;
|
||||||
Reference in new issue
Block a user