summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2013-11-27 16:29:37 +0000
committerAndrew Godwin <andrew@aeracode.org>2013-11-27 16:29:37 +0000
commit67b51b98959025c7a5e928f640488e230efde82e (patch)
treeb57d68009084a938a40d50fc78e215e62522aa50
parent5e63977c0e5d0dff755817b86364a5c8882deaf7 (diff)
Include deferred SQL in sqlmigrate output
-rw-r--r--django/db/migrations/executor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/migrations/executor.py b/django/db/migrations/executor.py
index 6352891b47..26d269fd9f 100644
--- a/django/db/migrations/executor.py
+++ b/django/db/migrations/executor.py
@@ -74,7 +74,7 @@ class MigrationExecutor(object):
migration.apply(project_state, schema_editor, collect_sql=True)
else:
migration.unapply(project_state, schema_editor, collect_sql=True)
- statements.extend(schema_editor.collected_sql)
+ statements.extend(schema_editor.collected_sql)
return statements
def apply_migration(self, migration, fake=False):