salix/services/db/install/changes/1.0.4-cau6508/01-warehouse.sql

16 lines
462 B
MySQL
Raw Normal View History

2018-05-07 10:31:48 +00:00
USE `vn`;
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`.`is_comparative` AS `isComparative`,
`t`.`comisionantes` AS `hasComission`,
`t`.`reserve` AS `hasAvailable`,
`t`.`isManaged` AS `isManaged`
FROM
`vn2008`.`warehouse` `t`;