mirror of
https://github.com/django/django.git
synced 2025-07-05 02:09:13 +00:00
[multi-db] Removed reverse() from drop table output.
git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d67abd9307
commit
9b84da453e
@ -272,8 +272,6 @@ class SchemaBuilder(object):
|
|||||||
(style.SQL_KEYWORD('DROP TABLE'),
|
(style.SQL_KEYWORD('DROP TABLE'),
|
||||||
style.SQL_TABLE(qn(f.m2m_db_table()))),
|
style.SQL_TABLE(qn(f.m2m_db_table()))),
|
||||||
db.connection))
|
db.connection))
|
||||||
# Reverse it, to deal with table dependencies.
|
|
||||||
output.reverse()
|
|
||||||
return output
|
return output
|
||||||
|
|
||||||
def get_initialdata(self, model):
|
def get_initialdata(self, model):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user