fixes #5020 Borrado lógico en la tabla ItemPackingType #1257

Merged
alexandre merged 3 commits from 5020-borradoLogico-IPT into dev 2023-01-18 08:15:09 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 4aaa5b2687 - Show all commits

View File

@ -1,3 +1,3 @@
ALTER TABLE `vn`.`itemPackingType` ADD isActive BOOLEAN;
ALTER TABLE `vn`.`itemPackingType` ADD isActive BOOLEAN NOT NULL;

not null

not null
UPDATE `vn`.`itemPackingType` SET isActive = 0 WHERE code IN ('P', 'F');
UPDATE `vn`.`itemPackingType` SET isActive = 1 WHERE code IN ('V', 'H');