unique constraint sequelize code example
Example: sequelize unique
username: {
type: DataTypes.TEXT,
allowNull: false,
unique: true
},
username: {
type: DataTypes.TEXT,
allowNull: false,
unique: true
},