feat: refs #7994 update sale.originalQuantity
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Ivan Mas 2024-09-22 07:24:21 +02:00
parent 9efc712859
commit 1ec8d8d5a0
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,3 @@
UPDATE 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';