ALTER TABLE `vn2008`.`warehouse` ADD COLUMN `hasStowaway` TINYINT(1) NOT NULL DEFAULT 0 AFTER `hasConfectionTeam`; UPDATE `vn2008`.`warehouse` SET `hasStowaway` = '1' WHERE (`id` = '1'); CREATE OR REPLACE ALGORITHM = UNDEFINED DEFINER = `root`@`%` SQL SECURITY DEFINER VIEW `vn`.`warehouse` AS SELECT `t`.`id` AS `id`, `t`.`name` AS `name`, `t`.`inventario` AS `isInventory`, `t`.`fuente` AS `isFeedStock`, `t`.`is_comparative` AS `isComparative`, `t`.`comisionantes` AS `hasComission`, `t`.`reserve` AS `hasAvailable`, `t`.`isManaged` AS `isManaged`, `t`.`tpv` AS `isForTicket`, `t`.`hasStowaway` AS `hasStowaway` FROM `vn2008`.`warehouse` `t`;