Answers for "sequelize velidate unique true"

2

set unique true sequelize

key: {
    // needs to be unique
    type: DataTypes.UUID,
    allowNull: false,
    unique: true
}
Posted by: Guest on July-30-2020

Browse Popular Code Answers by Language