Skip to content

the current db-init.sql is a template it isnt valid without replacement#1048

Open
birs-math wants to merge 1 commit intoreleasesfrom
db-init-once
Open

the current db-init.sql is a template it isnt valid without replacement#1048
birs-math wants to merge 1 commit intoreleasesfrom
db-init-once

Conversation

@birs-math
Copy link
Copy Markdown
Owner

The postgres image will try to initilize itself with any .sql or executalble sh files it finds. For circle CI we're using db-init.sql as template and manually initializing the database, which works, but if you try to bring up a development environment without updating the template, it will fail because the .sql file is invalid and the .sh script tries to do the same thing.

The postgres image will try to initilize itself with any .sql or
executalble sh files it finds. For circle CI we're using db-init.sql as
template and manually initializing the database, which works, but if you
try to bring up a development environment without updating the template,
it will fail because the .sql file is invalid and the .sh script tries
to do the same thing.

Signed-off-by: Ian Allison <iana@pims.math.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants