fix(pricing,dashboard): update min_quantity/max_quantity to decimal in price model (#14045)

This commit is contained in:
Nicolas Gorga authored and GitHub committed 2025-12-16 13:38:53 -03:00
1 parent bee86bf1d5
commit b5edbb9940
9 files changed
+110 -48

No files matched your search

+2 -2
View File
@@ -9,8 +9,8 @@ const Price = model
title: model.text().nullable(),
currency_code: model.text(),
amount: model.bigNumber(),
min_quantity: model.number().nullable(),
max_quantity: model.number().nullable(),
min_quantity: model.bigNumber().nullable(),
max_quantity: model.bigNumber().nullable(),
rules_count: model.number().default(0).nullable(),
price_set: model.belongsTo(() => PriceSet, {
mappedBy: "prices",