﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26966	MySQL backend schema editor skip_default method requires update for MySQL 5.7	conor	nobody	"Currently this method, [https://github.com/django/django/blob/1.10rc1/django/db/backends/mysql/schema.py#L28 django.db.backends.mysql.schema.DatabaseSchemaEditor.skip_default], checks for a certain group of field types (texts and blobs) to determine whether defaults are applicable at the database level. Since MySQL 5.7, there is one more which I believe needs to be added to this list - the new 'json' type. I discovered this while working with the [https://github.com/adamchainz/django-mysql/issues/312 django-mysql module]. In that module a default of `dict` is set at the Django model level but needs to be ignored for database operations.
As far as I can see it should be a pretty straight forward fix as I can't see why it would interfere with the functionality for older versions of MySQL."	Bug	closed	Database layer (models, ORM)	1.9	Normal	fixed	mysql, mysql 5.7, jsonfield, backend, db	me@…	Ready for checkin	1	0	0	0	0	0
