mirror of
https://github.com/django/django.git
synced 2025-09-27 04:29:17 +00:00
Removed unused attributes of MySQL SchemaEditor.
This commit is contained in:
parent
b49cc86643
commit
4dc74371e3
1 changed files with 0 additions and 3 deletions
|
@ -21,9 +21,6 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
|
||||||
|
|
||||||
sql_delete_index = "DROP INDEX %(name)s ON %(table)s"
|
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_create_pk = "ALTER TABLE %(table)s ADD CONSTRAINT %(name)s PRIMARY KEY (%(columns)s)"
|
||||||
sql_delete_pk = "ALTER TABLE %(table)s DROP PRIMARY KEY"
|
sql_delete_pk = "ALTER TABLE %(table)s DROP PRIMARY KEY"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue