Commit f0e09e27 authored by Andrew Godwin's avatar Andrew Godwin
Browse files

Fix non-executed SQL

parent 3074243a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -320,6 +320,7 @@ class BaseDatabaseSchemaEditor(object):
                    "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