From 454a2c16bdb8849805f338f325eb5a481f1cc826 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Thu, 10 Oct 2013 14:14:32 -0500 Subject: [PATCH] Actually rename the table back, or else we just lose the old table! ;) --- mediagoblin/db/migration_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/db/migration_tools.py b/mediagoblin/db/migration_tools.py index 70cd92c8..6b51025e 100644 --- a/mediagoblin/db/migration_tools.py +++ b/mediagoblin/db/migration_tools.py @@ -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() -- 2.25.1