diff options
author | Tim Graham <timograham@gmail.com> | 2016-01-22 12:23:41 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-01-22 12:46:27 -0500 |
commit | 4dc74371e3879a1a9eb5fd39702f5c4e70014629 (patch) | |
tree | 8426ba91696c063319460c2a511f5657e452b2fa /django/db/backends/mysql/schema.py | |
parent | b49cc8664306f8b44e9e12ebb9e43791d508ec74 (diff) | |
download | django-4dc74371e3879a1a9eb5fd39702f5c4e70014629.tar.gz |
Removed unused attributes of MySQL SchemaEditor.
Diffstat (limited to 'django/db/backends/mysql/schema.py')
-rw-r--r-- | django/db/backends/mysql/schema.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/db/backends/mysql/schema.py b/django/db/backends/mysql/schema.py index ef4ccf51db..3cdc53c858 100644 --- a/django/db/backends/mysql/schema.py +++ b/django/db/backends/mysql/schema.py @@ -21,9 +21,6 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor): sql_delete_index = "DROP INDEX %(name)s ON %(table)s" - alter_string_set_null = 'MODIFY %(column)s %(type)s NULL;' - alter_string_drop_null = 'MODIFY %(column)s %(type)s NOT NULL;' - sql_create_pk = "ALTER TABLE %(table)s ADD CONSTRAINT %(name)s PRIMARY KEY (%(columns)s)" sql_delete_pk = "ALTER TABLE %(table)s DROP PRIMARY KEY" |