Discussion:
makemigrations makes migration even if no changes in model
Michał Redmerski
2018-11-09 11:27:54 UTC
Permalink
Hello!

All issues with this I googled, are with the opposite problem.

I have models: Record, Stage, StageFetch
here is my code:
https://gist.github.com/redmeros/bd70481cae2e4471eee0501146b2945c

After every use of (no matter if there changes in any models)

python manage.py makemigrations

I've got such result

- Alter field stage on record
- Alter field stage on stagesfetch


I'm using django 2.1.3 running on debian.

Any ideas?

Thanks!
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5478f0816d8f2fadf84ddc996f438a98fc493a0d.camel%40zaaps.pl.
For more options, visit https://groups.google.com/d/optout.
Tim Graham
2018-11-10 23:34:40 UTC
Permalink
I think you'll need to provide a sample project that reproduces the
problem. I tried with the models you gave (and removed references to the
models that you didn't provide) but can't reproduce.
Post by Michał Redmerski
Hello!
All issues with this I googled, are with the opposite problem.
I have models: Record, Stage, StageFetch
https://gist.github.com/redmeros/bd70481cae2e4471eee0501146b2945c
After every use of (no matter if there changes in any models)
python manage.py makemigrations
I've got such result
- Alter field stage on record
- Alter field stage on stagesfetch
I'm using django 2.1.3 running on debian.
Any ideas?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/71d98102-ec92-4e6a-91f9-9f9bbf9932f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Michał Redmerski
2018-11-13 09:24:34 UTC
Permalink
Thanks for Your response,
The project is a part of our internal erp system. I'll try to make it
executable on external enviornment and then provide a code.

I have updated the gist to provide generated migrations.

Regards,

W dniu sob, 10.11.2018 o godzinie 15∶34 -0800, użytkownik Tim Graham
Post by Tim Graham
I think you'll need to provide a sample project that reproduces the
problem. I tried with the models you gave (and removed references to
the models that you didn't provide) but can't reproduce.
On Friday, November 9, 2018 at 6:51:49 AM UTC-5, Michał Redmerski
Post by Michał Redmerski
Hello!
All issues with this I googled, are with the opposite problem.
I have models: Record, Stage, StageFetch
https://gist.github.com/redmeros/bd70481cae2e4471eee0501146b2945c
After every use of (no matter if there changes in any models)
python manage.py makemigrations
I've got such result
- Alter field stage on record
- Alter field stage on stagesfetch
I'm using django 2.1.3 running on debian.
Any ideas?
Thanks!
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it,
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/71d98102-ec92-4e6a-91f9-9f9bbf9932f6%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8dc41adfe99d209527c0d23785b698474c3a4729.camel%40zaaps.pl.
For more options, visit https://groups.google.com/d/optout.
Loading...