Actually rename the table back, or else we just lose the old table! ;)
This commit is contained in:
parent
2c4decf260
commit
454a2c16bd
@ -311,5 +311,5 @@ def replace_table(db, old_table,replacement_table):
|
|||||||
old_table.drop()
|
old_table.drop()
|
||||||
db.commit()
|
db.commit()
|
||||||
|
|
||||||
replacement_table.name=old_table_name
|
replacement_table.rename(old_table_name)
|
||||||
db.commit()
|
db.commit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user