feat: refs #7296 drop column expeditionTruckFk

This commit is contained in:
Robert Ferrús 2024-06-28 08:45:18 +02:00
parent 8246eb51d4
commit f1f57a388d
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1,2 @@
-- Place your SQL code here
ALTER TABLE vn.routesMonitor DROP COLUMN expeditionTruckFk;

View File

@ -70,7 +70,7 @@ module.exports = Self => {
quantity: quantity
}, myOptions);
await Self.rawSql('CALL vn.sale_calculateComponent(?, NULL)', [newSale.id], myOptions);
await Self.rawSql('CALL vn.sale_calculateComponent(?, )', [newSale.id], myOptions);
await Self.rawSql('CALL vn.ticket_recalc(?, NULL)', [id], myOptions);
const sale = await models.Sale.findById(newSale.id, {