salix/db/changes/230201/00-borradoLogicoIPT.sql

4 lines
203 B
MySQL
Raw Normal View History

ALTER TABLE `vn`.`itemPackingType` ADD isActive BOOLEAN;
UPDATE `vn`.`itemPackingType` SET isActive = 0 WHERE code IN ('P', 'F');
UPDATE `vn`.`itemPackingType` SET isActive = 1 WHERE code IN ('V', 'H');