revert stupid test case breaking change

This commit is contained in:
jan.dittberner 2009-01-25 13:40:55 +00:00
parent eb00570991
commit 60409d80cd

View File

@ -41,8 +41,9 @@ class SQLiteColumnDropper(SQLiteHelper, ansisql.ANSIColumnDropper):
def _modify_table(self, table, column): def _modify_table(self, table, column):
del table.columns[column.name] del table.columns[column.name]
return 'INSERT INTO %(table_name)s SELECT %s from migration_tmp' % \ columns = ','.join([c.name for c in table.columns])
','.join([c.name for c in table.columns]) return 'INSERT INTO %(table_name)s SELECT ' + columns + \
' from migration_tmp'
class SQLiteSchemaChanger(SQLiteHelper, ansisql.ANSISchemaChanger): class SQLiteSchemaChanger(SQLiteHelper, ansisql.ANSISchemaChanger):