Merge pull request 'feat: refs #7994 update sale.originalQuantity' (!3000) from 7994-UpdateSale.OriginalQuantity into dev
gitea/salix/pipeline/head There was a failure building this commit Details

Reviewed-on: #3000
Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
Ivan Mas 2024-10-07 14:51:19 +00:00
commit 249e37f605
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,3 @@
UPDATE vn.sale
SET originalQuantity = quantity
WHERE originalQuantity IS NULL

View File

@ -0,0 +1 @@
ALTER TABLE vn.sale MODIFY COLUMN originalQuantity decimal(10,2) DEFAULT 0.00 NOT NULL COMMENT 'Se utiliza para notificar a través de rocket los cambios de quantity';