Commit b727299
authored
feat: add pg_cron, pg_net, pgsodium, and supabase_vault extensions to Atlas database (#508)
# Add PostgreSQL extensions for pgflow worker management
This PR adds several PostgreSQL extensions to the Atlas development database to support pgflow worker management:
- Added `pg_cron` for scheduled job execution
- Added `pg_net` for making HTTP requests from SQL (needed for pinging edge functions)
- Added `pgsodium` and `supabase_vault` for secure credential storage
The changes include:
- Updated Dockerfile to install and configure these extensions
- Modified the schema dump script to include schemas from the new extensions
- Updated the baseline schema to include the new extensions
- Renamed the Docker image to `jumski/atlas-postgres-pgflow:latest` to better reflect its purpose
- Added proper configuration for shared preload libraries and other required settings
These extensions will enable pgflow to securely store credentials, make HTTP requests, and schedule recurring tasks for worker management.1 parent b388578 commit b727299
File tree
3 files changed
+16
-1
lines changed- pkgs/core
- schemas
- supabase/migrations
3 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
0 commit comments