salix/db/changes/10001-fallas/00-holidayDetail.sql

13 lines
387 B
SQL

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`;