fixing get to post for org suggestions

This commit is contained in:
Arjun Patel
2019-01-20 22:51:08 -08:00
parent f5dd981152
commit 008800acdf
6 changed files with 15 additions and 12 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ module.exports = (sequelize, DataTypes) => {
},
name: {
type: DataTypes.STRING,
allowNull: false
allowNull: false,
unique: true
},
amount: {
type: DataTypes.INTEGER,