BLOB/TEXT column 'sometextfield' can't have a default value
BTW, why do changes to blank require new migrations?
--
Ticket URL: <https://code.djangoproject.com/ticket/23920>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* type: Uncategorized => Bug
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/23920#comment:1>
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
Comment:
I could reproduce this.
As for your question, it's answered in the
[https://docs.djangoproject.com/en/1.7/topics/migrations/ migrations
docs].
--
Ticket URL: <https://code.djangoproject.com/ticket/23920#comment:2>
* status: new => assigned
* owner: nobody => timgraham
--
Ticket URL: <https://code.djangoproject.com/ticket/23920#comment:3>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/3683 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/23920#comment:4>
* cc: info+coding@… (added)
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/23920#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"765fa36d57d08d0568438f6fd74521e7a56abb61"]:
{{{
#!CommitTicketReference repository=""
revision="765fa36d57d08d0568438f6fd74521e7a56abb61"
Fixed #23920 -- Fixed MySQL crash when adding blank=True to TextField.
Thanks wkornewald for the report and Markus Holtermann for review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23920#comment:6>
Comment (by Tim Graham <timograham@…>):
In [changeset:"d57124433f0d0f2bf61ea4e14962f3b663ab20c7"]:
{{{
#!CommitTicketReference repository=""
revision="d57124433f0d0f2bf61ea4e14962f3b663ab20c7"
[1.7.x] Fixed #23920 -- Fixed MySQL crash when adding blank=True to
TextField.
Thanks wkornewald for the report and Markus Holtermann for review.
Backport of 765fa36d57d08d0568438f6fd74521e7a56abb61 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23920#comment:7>