-
Notifications
You must be signed in to change notification settings - Fork 589
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
foreign key change of type don't get noticed #570
Labels
Comments
Is it possible to give me a complete model to reproduce this? Even better if you can update one of the existing test cases. |
Ok, I'll try to add a test for this. |
Done. |
@drwl That's right. |
Thanks for adding the test. I've marked this as a bug and will wait off on merging the test until there's an appropriate fix, as otherwise it'll fail builds going forward. |
Sure, you're welcome. |
sashabelozerov
added a commit
to sashabelozerov/annotate_models
that referenced
this issue
Oct 26, 2019
ctran
pushed a commit
that referenced
this issue
Dec 18, 2019
peterfication
pushed a commit
to store2be/annotate_models
that referenced
this issue
Jan 20, 2020
vfonic
pushed a commit
to vfonic/annotate_models
that referenced
this issue
May 8, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Commands
When I change foreign key type from :restrict to :cascade or back
in e.g. Rails migration:
then run
bundle exec annotate
I get
Model files unchanged.
And it's at outdated
Only running with --force updates them properly.
Version
The text was updated successfully, but these errors were encountered: