不要怂,就是干,撸起袖子干!

Commit 1b675e20 by C. T. Lin Committed by Sushant

Fix typo omitNul (#7021)

1 parent 15f6ad96
Showing with 1 additions and 1 deletions
...@@ -720,7 +720,7 @@ class Model { ...@@ -720,7 +720,7 @@ class Model {
singular: Utils.singularize(options.modelName) singular: Utils.singularize(options.modelName)
}, },
indexes: [], indexes: [],
omitNul: globalOptions.omitNull omitNull: globalOptions.omitNull
}, options); }, options);
this.sequelize.runHooks('beforeDefine', attributes, options); this.sequelize.runHooks('beforeDefine', attributes, options);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!