Skip to content

Commit 2963dd0

Browse files
committed
fix(bug): add column has no def options
Signed-off-by: Tobias Gurtzick <[email protected]>
1 parent 1a5fc14 commit 2963dd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ var Base = Class.extend({
334334

335335
addColumn: function(tableName, columnName, columnSpec, callback) {
336336
var columnSpec = this.normalizeColumnSpec(columnSpec);
337-
this._prepareSpec(columnName, columnSpec, columnDefOptions, tableName);
337+
this._prepareSpec(columnName, columnSpec, {}, tableName);
338338
var def = this.createColumnDef(columnName, columnSpec, {}, tableName);
339339
var extensions = '';
340340
var self = this;

0 commit comments

Comments
 (0)