#26116: schema's test_alter_implicit_id_to_explicit warns/errors with "Field
'id'
doesn't have a default value" on MySQL
----------------------------+-------------------------------------
Reporter: timgraham | Owner: timgraham
Type: Bug | Status: closed
Component: Migrations | Version: 1.8
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>):
In [changeset:"6919586bcd87089d37cb95367eea39b63ec697e9" 6919586b]:
{{{
#!CommitTicketReference repository=""
revision="6919586bcd87089d37cb95367eea39b63ec697e9"
[1.8.x] Fixed #26116 -- Corrected schema's
test_alter_implicit_id_to_explicit.
AUTOINCREMENT is dropped converting an AutoField to IntegerField
which isn't the point of this test. MySQL would warn or error about
this.
Backport of b49cc8664306f8b44e9e12ebb9e43791d508ec74 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26116#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/067.90673b322d49e4ad343d877b55c5b59f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.