database changes and initial causes and regions
This commit is contained in:
@@ -5,7 +5,7 @@ module.exports = (sequelize, DataTypes) => {
|
||||
primaryKey: true,
|
||||
autoIncrement: true
|
||||
},
|
||||
name: { type: DataTypes.STRING, allowNull: false }
|
||||
name: { type: DataTypes.STRING, allowNull: false, unique: true }
|
||||
});
|
||||
return Cause;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user