diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2013-08-11 14:27:42 +0100 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2013-08-11 14:27:42 +0100 |
| commit | d985fd7a189cdbfa2093c1225bdeb7eefaeb6978 (patch) | |
| tree | 6ce367809155a8eb8b4a44bb4fc71dc68d6a1bd7 | |
| parent | ae19315b4d8a19eda07ea8f313c485ca0a7875d0 (diff) | |
Fix tablespace command
| -rw-r--r-- | django/db/backends/schema.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/schema.py b/django/db/backends/schema.py index d868bf79b5..0a283b7fd8 100644 --- a/django/db/backends/schema.py +++ b/django/db/backends/schema.py @@ -312,7 +312,7 @@ class BaseDatabaseSchemaEditor(object): """ Moves a model's table between tablespaces """ - self.execute(self.sql_rename_table % { + self.execute(self.sql_retablespace_table % { "table": self.quote_name(model._meta.db_table), "old_tablespace": self.quote_name(old_db_tablespace), "new_tablespace": self.quote_name(new_db_tablespace), |
