Skip to content

Commit

Permalink
Merge pull request #508 from ethanwhite/extend-ct-column
Browse files Browse the repository at this point in the history
Extend length of ct_column to 50
  • Loading branch information
henrykironde committed Jun 6, 2016
2 parents b59be51 + 35b72ca commit e8d17cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def auto_create_table(self, table, url=None, filename=None, pk=None):
self.auto_get_datatypes(pk, lines, columns, column_values)

if self.table.columns[-1][1][0][:3] == "ct-" and hasattr(self.table, "ct_names") and not self.table.ct_column in [c[0] for c in self.table.columns]:
self.table.columns = self.table.columns[:-1] + [(self.table.ct_column, ("char", 20))] + [self.table.columns[-1]]
self.table.columns = self.table.columns[:-1] + [(self.table.ct_column, ("char", 50))] + [self.table.columns[-1]]

self.create_table()

Expand Down

0 comments on commit e8d17cd

Please sign in to comment.