using the sequelize auto index file for model/db config

This commit is contained in:
Arjun Patel
2019-03-16 21:55:50 -07:00
parent 661828bab2
commit 52c284f02a
6 changed files with 91 additions and 30 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ module.exports = (sequelize, DataTypes) => {
allowNull: false
},
age: DataTypes.INTEGER,
phone: DataTypes.DataTypes.STRING(20),
phone: DataTypes.STRING(20),
address: DataTypes.STRING,
city: DataTypes.STRING,