Answers for "add combined unique in sequelize in alter table"

2

set unique true sequelize

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

Code answers related to "add combined unique in sequelize in alter table"

Browse Popular Code Answers by Language