sequelize - unique composite, multiple association key doesnt work with null?

后端 未结 0 1525
花落未央
花落未央 2021-02-02 03:33

Say that i have the following model:

AccessControl.init({
  permission: {
    type: DataTypes.STRING,
    allowNull: false,
    unique: \'uniquePermission\'
  },
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题