1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Removed duplicate attribute in MySQL DatabaseSchemaEditor.

This commit is contained in:
Andriy Sokolovskiy 2015-03-30 23:00:07 +03:00 committed by Tim Graham
parent 845817b039
commit 29b4a3f513

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;'