Actually rename the table back, or else we just lose the old table! ;)
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user