USE `vn`;
CREATE 
     OR REPLACE ALGORITHM = UNDEFINED 
    DEFINER = `root`@`%` 
    SQL SECURITY DEFINER
VIEW `vn`.`packaging` AS
    SELECT 
        `c`.`Id_Cubo` AS `id`,
        `c`.`Volumen` AS `volume`,
        `c`.`X` AS `width`,
        `c`.`Y` AS `height`,
        `c`.`Z` AS `depth`,
        `c`.`Retornable` AS `isPackageReturnable`,
        `c`.`odbc_date` AS `created`,
        `c`.`item_id` AS `itemFk`,
        `c`.`pvp` AS `price`
    FROM
        `vn2008`.`Cubos` `c`;
