Permalink
Browse files

Fix tablespace command

  • Loading branch information...
andrewgodwin committed Aug 11, 2013
1 parent ae19315 commit d985fd7a189cdbfa2093c1225bdeb7eefaeb6978
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/backends/schema.py
@@ -312,7 +312,7 @@ def alter_db_tablespace(self, model, old_db_tablespace, new_db_tablespace):
"""
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),

0 comments on commit d985fd7

Please sign in to comment.