chore(): Further improve promotions computation (#13556)
* chore(): Further improve promotions * chore(): Further improve promotions * chore(): Further improve promotions * chore(): Further improve promotions * chore(): Further improve promotions * Create lazy-lemons-occur.md * chore(): Further improve promotions * WIP * fix * improve: * fix attribute tests * fix tests * union
This commit is contained in:
@@ -36,6 +36,12 @@ const PromotionRule = model
|
||||
unique: false,
|
||||
where: "deleted_at IS NULL",
|
||||
},
|
||||
{
|
||||
name: "IDX_promotion_rule_attribute_operator_id",
|
||||
on: ["operator", "attribute", "id"],
|
||||
unique: false,
|
||||
where: "deleted_at IS NULL",
|
||||
},
|
||||
])
|
||||
.cascades({
|
||||
delete: ["values"],
|
||||
|
||||
Reference in New Issue
Block a user