index 154f452..e198f6a 100644
old
|
new
|
class BaseDatabaseSchemaEditor(object):
|
260 | 260 | "table": self.quote_name(model._meta.db_table), |
261 | 261 | "definition": ", ".join(column_sqls) |
262 | 262 | } |
| 263 | # Add tablespace |
| 264 | tablespace = model._meta.db_tablespace |
| 265 | if tablespace and self.connection.features.supports_tablespaces: |
| 266 | sql += " %s" % self.connection.ops.tablespace_sql(tablespace, inline=False) |
| 267 | |
263 | 268 | self.execute(sql, params) |
264 | 269 | # Add any index_togethers |
265 | 270 | for fields in model._meta.index_together: |