#25012: Migrations don't make foreign key type changes
-------------------------------------+-------------------------------------
Reporter: Hedde van der Heide | Owner: Simon
| Charette
Type: Bug | Status: assigned
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: migrations | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):
* owner: nobody => Simon Charette
* status: new => assigned
Comment:
I had a look at the field alteration logic and it seems to come from the
fact m2m relationships are excluded from this block
https://github.com/django/django/blob/415f50298f97fb17f841a9df38d995ccf347dfcc/django/db/backends/base/schema.py#L793-L808
I've assigned it to myself as it's likely something we want to get fix
before the final 3.2 release which introduces warnings about `AutoField`.
--
Ticket URL: <https://code.djangoproject.com/ticket/25012#comment:15>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.77702562c596af53446f33f5182afaf6%40djangoproject.com.