summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):