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

Commit ef5eca6f by Fengda Huang

Update data-types.js

1 parent d174b875
Showing with 1 additions and 1 deletions
...@@ -641,7 +641,7 @@ UUIDV4.prototype.validate = function(value) { ...@@ -641,7 +641,7 @@ UUIDV4.prototype.validate = function(value) {
* You could also use it to validate a value before permuting and storing it. Checking password length before hashing it for example: * You could also use it to validate a value before permuting and storing it. Checking password length before hashing it for example:
* ```js * ```js
* sequelize.define('user', { * sequelize.define('user', {
* password_hash: DataTypes.STRING * password_hash: DataTypes.STRING,
* password: { * password: {
* type: DataTypes.VIRTUAL, * type: DataTypes.VIRTUAL,
* set: function (val) { * set: function (val) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!