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

4 lines
212 B
MySQL
Raw Normal View History

2023-01-18 08:08:09 +00:00
ALTER TABLE `vn`.`itemPackingType` ADD isActive BOOLEAN NOT NULL;
UPDATE `vn`.`itemPackingType` SET isActive = 0 WHERE code IN ('P', 'F');
UPDATE `vn`.`itemPackingType` SET isActive = 1 WHERE code IN ('V', 'H');