salix/db/install/changes/holidayDetail.sql

13 lines
387 B
MySQL
Raw Normal View History

2019-03-22 07:28:57 +00:00
DROP VIEW IF EXISTS `vn`.`labourHolidayLegend`;
DROP VIEW IF EXISTS `vn`.`holidayDetail`;
CREATE
OR REPLACE ALGORITHM = UNDEFINED
DEFINER = `root`@`%`
SQL SECURITY DEFINER
VIEW `vn`.`holidayDetail` AS
SELECT
`cll`.`calendar_labour_legend_id` AS `id`,
`cll`.`descripcion` AS `description`
FROM
`postgresql`.`calendar_labour_legend` `cll`;