1
0
mirror of https://github.com/django/django.git synced 2024-12-28 12:06:22 +00:00

[1.8.x] Removed duplicate attribute in MySQL DatabaseSchemaEditor.

Backport of 29b4a3f513 from master
This commit is contained in:
Andriy Sokolovskiy 2015-03-30 23:00:07 +03:00 committed by Tim Graham
parent 2bddc74b42
commit 121c5f7d5b

View File

@ -21,8 +21,6 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
sql_delete_index = "DROP INDEX %(name)s ON %(table)s"
sql_delete_pk = "ALTER TABLE %(table)s DROP PRIMARY KEY"
alter_string_set_null = 'MODIFY %(column)s %(type)s NULL;'
alter_string_drop_null = 'MODIFY %(column)s %(type)s NOT NULL;'