Skip to content

Commit

Permalink
bug fix, make Table.drop_column be aware of table schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Xu Liu committed Jul 26, 2016
1 parent 927f88b commit 4147871
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dataset/persistence/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ def drop_column(self, name):
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:
Expand Down

0 comments on commit 4147871

Please sign in to comment.