salix/services/db/changes/1.0.0/06-itemPlacement.sql

13 lines
324 B
SQL

CREATE
OR REPLACE ALGORITHM = UNDEFINED
DEFINER = `root`@`%`
SQL SECURITY DEFINER
VIEW `vn`.`itemPlacement` AS
SELECT
`an`.`id` AS `id`,
`an`.`Id_Article` AS `itemFk`,
`an`.`warehouse_id` AS `warehouseFk`,
`an`.`nicho` AS `code`
FROM
`vn2008`.`Articles_nicho` `an`;