Skip to content

Commit

Permalink
Merge pull request #167 from gerhardkubion/develop
Browse files Browse the repository at this point in the history
Add support for model validation
  • Loading branch information
davesag authored Oct 6, 2020
2 parents 542cb55 + d275281 commit 8ce23de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sequelize.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const sequelize = {

model.prototype.indexes = metaData.indexes
model.prototype.scopes = metaData.scopes
model.prototype.validate = metaData.validate
return model
}
}
Expand Down

0 comments on commit 8ce23de

Please sign in to comment.