salix/services/db/install/changes/1.2-CHECK/01-itemCategory.sql

16 lines
373 B
SQL

USE `vn`;
CREATE
OR REPLACE ALGORITHM = UNDEFINED
DEFINER = `root`@`%`
SQL SECURITY DEFINER
VIEW `itemCategory` AS
SELECT
`r`.`id` AS `id`,
`r`.`reino` AS `name`,
`r`.`display` AS `display`,
`r`.`color` AS `color`,
`r`.`icon` AS `icon`,
`r`.`mercancia` AS `merchandise`
FROM
`vn2008`.`reinos` `r`;