Merge pull request #179 from johnlpuc163/master

bug fix, make Table.drop_column be aware of table schema
This commit is contained in:
Friedrich Lindenberg 2016-09-22 17:57:16 +02:00 committed by GitHub
commit 8032c66219

View File

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