model set up and associations
This commit is contained in:
@@ -16,7 +16,9 @@ module.exports = (sequelize, DataTypes) => {
|
||||
},
|
||||
email: {
|
||||
type: DataTypes.STRING,
|
||||
isEmail: true,
|
||||
validate: {
|
||||
isEmail: true
|
||||
},
|
||||
allowNull: false
|
||||
},
|
||||
password: {
|
||||
|
||||
Reference in New Issue
Block a user