Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make init script run on docker postgres container startup #7

Open
iFialAtFail opened this issue Mar 16, 2024 · 0 comments
Open

Make init script run on docker postgres container startup #7

iFialAtFail opened this issue Mar 16, 2024 · 0 comments
Assignees

Comments

@iFialAtFail
Copy link
Member

Right now we have an init.sql file that creates the schema and generates some test data into the table, and that file has to be ran manually.

We should make the file run when the the container starts. The init.sql script likely needs to be adjusted, and the actual running of the script might need to be "smart" and first check to make sure the schema/tables haven't been created yet before trying to apply them

@iFialAtFail iFialAtFail self-assigned this Mar 16, 2024
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

No branches or pull requests

1 participant