Skip to content
Browse files

Include deferred SQL in sqlmigrate output

  • Loading branch information...
1 parent 5e63977 commit 67b51b98959025c7a5e928f640488e230efde82e @andrewgodwin andrewgodwin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/migrations/
2 django/db/migrations/
@@ -74,7 +74,7 @@ def collect_sql(self, plan):
migration.apply(project_state, schema_editor, collect_sql=True)
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):

0 comments on commit 67b51b9

Please sign in to comment.
Something went wrong with that request. Please try again.