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

Commit 5ba17e99 by José Moreira

Paranoid: if required, don't change nothing, otherwise mark required as false

1 parent cc281bc7
Showing with 1 additions and 1 deletions
...@@ -1580,7 +1580,7 @@ module.exports = (function() { ...@@ -1580,7 +1580,7 @@ module.exports = (function() {
if( ! options.where ){ if( ! options.where ){
options.where = {} options.where = {}
options.required = false options.required = options.required || false
} }
var deletedAtCol = this._timestampAttributes.deletedAt var deletedAtCol = this._timestampAttributes.deletedAt
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!