summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndriy Sokolovskiy <me@asokolovskiy.com>2015-03-30 23:00:07 +0300
committerTim Graham <timograham@gmail.com>2015-03-30 19:23:41 -0400
commit29b4a3f513f412fb4a987b777b61b596c09d217e (patch)
treebe47677b0d108ca77d2ac23de4cc97df474c804d
parent845817b039fc059955bb1eafa5fd78565a49159d (diff)
Removed duplicate attribute in MySQL DatabaseSchemaEditor.
-rw-r--r--django/db/backends/mysql/schema.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/db/backends/mysql/schema.py b/django/db/backends/mysql/schema.py
index 4512e99d7e..7f3a2d357b 100644
--- a/django/db/backends/mysql/schema.py
+++ b/django/db/backends/mysql/schema.py
@@ -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;'