mirror of
https://github.com/django/django.git
synced 2025-04-08 23:46:43 +00:00
Removed unused attributes of MySQL SchemaEditor.
This commit is contained in:
parent
b49cc86643
commit
4dc74371e3
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user