-
Notifications
You must be signed in to change notification settings - Fork 57
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
Using --git-commit-id option with verbose logging outputs "Found migration x that is not present in loaded migration." #246
Comments
The tuple that gets returned after identifying migrations seems to be flipped when getting them from git. When getting them with the |
@jag-ermeister is it possible that you have the same issue described at #249 and fixed in #248? |
@phillipuniverse I would say it is very possible that this is the same issue. I can definitely check that out after #248 merged and released. |
A colleague of mine tried out version 5 of this library and this functionality worked beautifully. I think that commit #248 was the fix. Thanks! |
@jag-ermeister just FYI #248 was never merged |
Hello you all 👋 Sorry we weren't able to tackle this issue yet. I'm happy to read it was fixed serendipitously - and if it wasn't, feel free to re-open the issue. We'll have a look at the PR anyway :) |
After viewing some of the other open and closed issues around the
--git-commit-id
option, I have come up with this command:python manage.py lintmigrations --git-commit-id 2f69ac96ce080b45f4749cf95165341a8c0447e4 --project-root-path '.' -v 3
After executing that command, I receive this output:
So the migration in question (which has a backwards-incompatible change) is found, but it is ignored for some reason. Why is this?
If I run this command
python manage.py lintmigrations
, I get the output that I expect:Any ideas? Thanks!
The text was updated successfully, but these errors were encountered: