bug fix, make Table.drop_column be aware of table schema

This commit is contained in:
Xu Liu 2016-07-26 17:59:30 -04:00
parent 927f88bbd5
commit 4147871b39

View File

@ -326,7 +326,8 @@ class Table(object):
if name in self.table.columns.keys():
self.database.op.drop_column(
self.table.name,
name
name,
self.table.schema
)
self.table = self.database.update_table(self.table.name)
finally: