Actually rename the table back, or else we just lose the old table! ;)

This commit is contained in:
Christopher Allan Webber 2013-10-10 14:14:32 -05:00
parent 2c4decf260
commit 454a2c16bd

View File

@ -311,5 +311,5 @@ def replace_table(db, old_table,replacement_table):
old_table.drop()
db.commit()
replacement_table.name=old_table_name
replacement_table.rename(old_table_name)
db.commit()