mirror of
https://github.com/django/django.git
synced 2025-09-28 04:54:53 +00:00
Fix tablespace command
This commit is contained in:
parent
ae19315b4d
commit
d985fd7a18
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue