Skip to content

Commit

Permalink
fix(bug): add column has no def options
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Gurtzick <[email protected]>
  • Loading branch information
wzrdtales committed Feb 11, 2019
1 parent 1a5fc14 commit 2963dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ var Base = Class.extend({

addColumn: function(tableName, columnName, columnSpec, callback) {
var columnSpec = this.normalizeColumnSpec(columnSpec);
this._prepareSpec(columnName, columnSpec, columnDefOptions, tableName);
this._prepareSpec(columnName, columnSpec, {}, tableName);
var def = this.createColumnDef(columnName, columnSpec, {}, tableName);
var extensions = '';
var self = this;
Expand Down

0 comments on commit 2963dd0

Please sign in to comment.