-
Notifications
You must be signed in to change notification settings - Fork 92
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
[Bug] DB migration scripts are not applied correctly when booting up docker-compose environment #178
Comments
@xenry I'm not able to reproduce the issue on
Which
|
After the extra context in discord the issue might be related to WSL and docker docker/compose#4852 However you can try to manually disable the |
yes, seems like a wsl2 issue, similar to https://stackoverflow.com/questions/63552052/docker-volumes-on-wsl2-using-docker-desktop |
so it seems that the recommended way is to copy over the source to be inside wsl rather than mounting it from windows. Also be careful to remove any previously built flyway images which will be broken if built from code mounted on windows. |
Describe the bug
DB migration scripts are not applied correctly when booting up docker-compose environment
To Reproduce
docker-compose up -d
in root folderdocker-compose logs flyway
Expected behavior
sql migration scripts from db/migrations folder should be applied and we should have the relevant tables in the ui
The text was updated successfully, but these errors were encountered: