#25216: DB migration bug in 1.8.3 when creating ManyToMany relation.
----------------------------+--------------------------------------
Reporter: cx44yale | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 1.8
Severity: Normal | Resolution:
Keywords: migrate | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+--------------------------------------
Comment (by cx44yale):
I suspect it is a problem with the order executed, the M2M expects my User
model.
I removed all of my models definition in that app, and run python
manage.py migrate to generate all those auth, sessions builtin tables, and
then paste my models back run migrate again, this time everything works,
and all the tables are generated correctly.
Thanks
--
Ticket URL: <https://code.djangoproject.com/ticket/25216#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.e50076a231375c603ef8cd6353a9eae3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.