Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix tablespace command

  • Loading branch information...
commit d985fd7a189cdbfa2093c1225bdeb7eefaeb6978 1 parent ae19315
@andrewgodwin andrewgodwin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/backends/schema.py
View
2  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),
Please sign in to comment.
Something went wrong with that request. Please try again.