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

Fix migrations in run.sh #27

Merged
merged 2 commits into from
Oct 31, 2023
Merged

Fix migrations in run.sh #27

merged 2 commits into from
Oct 31, 2023

Conversation

Melkor333
Copy link
Contributor

Hi

I tried to run this in a docker container and for some reason the DB creation didn't happen.
I tried to run the run.sh script manually and got the following error:

! unknown or unexpected option: --schema

Turns out the order of the arguments is (now?) enforced. Changing the order of the arguments was enough to make it work :)

I also added set -e, which makes the script exit if the migration doesn't work.

@Yureien
Copy link
Owner

Yureien commented Oct 31, 2023

Thanks for the PR! That was weird, might have messed up the script while I was fixing the Docker image.

@Yureien Yureien merged commit 62c4eb2 into Yureien:main Oct 31, 2023
1 check passed
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.

None yet

2 participants