-
Notifications
You must be signed in to change notification settings - Fork 129
Allow migration_lock to be specified in check_repo_status #160
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
Allow migration_lock to be specified in check_repo_status #160
Conversation
|
Woot! Nice seeing you here too @greg-rychlewski! I think we need to bump the Ecto dependency to |
|
Oh yes sure no problem :). All done. Is it ok that the mix.lock version is 3.9 or should that be 3.5? |
|
It is fine to be 3.9 I think! |
|
It seems we will also have to bump CI and mix.exs to use at least Elixir v1.10. :) |
|
Updated the CI to Elixir 1.10/OTP 21 and Elixir 1.14/OTP 25 |
|
💚 💙 💜 💛 ❤️ |
|
you beat me to it :) |
|
Hey sorry for resurface this, but we just spent a whole day debugging this issue 😅. We were pretty happy that we found this solution, but were wondering - is there a reason this is not the default? I'm happy to submit a PR to make it the default if that makes sense. |
|
@dkarter what exactly do you mean when you say "spent a whole day debugging this issue"? So what behavior did you see that was unexpected? |
|
This issue describes the issue pretty well: |
|
I see. Sadly, I don't know why |
|
Since we are just checking migrations, we can probably have migration_lock: false by default for checking? |
|
I have a PR up here: #196 |
This can be useful for example when the user wants to have advisory locks for migrations but doesn't need that level of locking for checking pending migrations.