Custom docker+postgres// image with pg_cron #2824
Unanswered
erickhouse
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I'm having of issues with custom docker
pg_cron
installations andatlas diff
pg_cron needs to be told exactly which database to be installed in. It can only be installed in one database at a time.
running
create extension pg_cron
in the in the next state (--to
) causes it to fail. It's not clear exactly how the diff process uses the dev database or how I can tell the diff process to use a specific databasedocker+postgres://_/my-image/dev
If I install it ahead of time and point
atlas diff
to a running docker instance locally with pg_cron already installed then I get an error because the extension installs a schemacron
. It says the dev instance is dirty.Any ideas would be very appreciated.
Beta Was this translation helpful? Give feedback.
All reactions