working on organization create endpoint

This commit is contained in:
Arjun Patel
2019-01-27 19:40:18 -08:00
parent 1aa0d2268a
commit 60590906a0
5 changed files with 77 additions and 9 deletions
-8
View File
@@ -6,14 +6,6 @@ module.exports = (sequelize, DataTypes) => {
autoIncrement: true
},
name: { type: DataTypes.STRING, allowNull: false },
first_name: {
type: DataTypes.STRING,
allowNull: false
},
last_name: {
type: DataTypes.STRING,
allowNull: false
},
email: {
type: DataTypes.STRING,
validate: {