Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Include deferred SQL in sqlmigrate output

  • Loading branch information...
commit 67b51b98959025c7a5e928f640488e230efde82e 1 parent 5e63977
@andrewgodwin andrewgodwin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/migrations/executor.py
View
2  django/db/migrations/executor.py
@@ -74,7 +74,7 @@ def collect_sql(self, plan):
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):
Please sign in to comment.
Something went wrong with that request. Please try again.