Pass in the options
This commit is contained in:
parent
502b0512d3
commit
b3e98f0c6f
|
@ -469,7 +469,7 @@ ModelBuilder.prototype.buildModels = function (schemas) {
|
|||
for (var s in schemas) {
|
||||
var name = schemas[s].name;
|
||||
var schema = buildSchema(name, schemas[s].properties, associations);
|
||||
var model = this.define(name, schema);
|
||||
var model = this.define(name, schema, schemas[s].options);
|
||||
models[name] = model;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue