salix/db/versions/.archive/10349-greenOak/00-firstScript.sql

10 lines
375 B
MySQL
Raw Normal View History

-- Place your SQL code here
ALTER TABLE `vn`.`itemType`
ADD COLUMN `isMergeable` TINYINT(1) NOT NULL DEFAULT 1 AFTER `maxRefs`;
ALTER TABLE `vn`.`itemType`
CHANGE COLUMN `isMergeable` `isMergeable` TINYINT(1) NOT NULL DEFAULT 1 COMMENT 'Articulos que al mergear los tickets se fusionara la linea' ;
UPDATE `vn`.`itemType` SET `isMergeable` = '0' WHERE (`code` = 'GEN');