Fix for issue #125, create the table on the same connection as the ALTER and INSERT happen

This commit is contained in:
al.yazdi@gmail.com 2011-10-26 06:32:59 +00:00
parent a1968e7f7d
commit cef7676b58

View File

@ -39,7 +39,7 @@ class SQLiteHelper(SQLiteCommon):
insertion_string = self._modify_table(table, column, delta)
table.create()
table.create(bind=self.connection)
self.append(insertion_string % {'table_name': table_name})
self.execute()
self.append('DROP TABLE migration_tmp')