Skip to content

Commit

Permalink
Add support for model validation
Browse files Browse the repository at this point in the history
  • Loading branch information
gerhardkubion committed Oct 2, 2020
1 parent 0afc968 commit d275281
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 d275281

Please sign in to comment.