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
+2 -1
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: