fix #73 - add migration to docs

This commit is contained in:
les
2020-02-15 15:42:41 +01:00
parent 1ef78c5f4d
commit e6f9db2f3a
7 changed files with 36 additions and 16 deletions

View File

@@ -10,7 +10,6 @@ module.exports = (sequelize, DataTypes) => {
type: DataTypes.STRING,
unique: { msg: 'error.email_taken' },
validate: {
isEmail: true,
notEmpty: true
},
index: true,