#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:"1aee5e8582dacd1908561dd57ea9883fcf4a2126" 1aee5e8]:
{{{
#!CommitTicketReference repository=""
revision="1aee5e8582dacd1908561dd57ea9883fcf4a2126"
[1.9.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:4>
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.c422eb8bdba4c819499e5a194df03179%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.