Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix non-executed SQL

  • Loading branch information...
commit f0e09e27f6461cf65cbaa68c097e8368e0f14ec0 1 parent 3074243
@andrewgodwin andrewgodwin authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/db/backends/schema.py
View
1  django/db/backends/schema.py
@@ -320,6 +320,7 @@ def create_field(self, model, field, keep_default=False):
"column": self.quote_name(field.column),
}
}
+ self.execute(sql)
# Add any FK constraints later
if field.rel and self.connection.features.supports_foreign_keys:
to_table = field.rel.to._meta.db_table

0 comments on commit f0e09e2

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