chore(): Add missing product status index (#13475)

**What**
Add missing product status index
This commit is contained in:
Adrien de Peretti
2025-09-11 09:54:12 +00:00
committed by GitHub
parent 8dd9ae3d35
commit 58e20fa3fc
4 changed files with 33 additions and 0 deletions
@@ -81,6 +81,12 @@ const Product = model
unique: false,
where: "deleted_at IS NULL",
},
{
name: "IDX_product_status",
on: ["status"],
unique: false,
where: "deleted_at IS NULL",
},
])
export default Product