salix/services/db/install/changes/1.2-CHECK/06-labourHoliday.sql

8 lines
312 B
SQL

CREATE OR REPLACE VIEW vn.labourHoliday
AS SELECT
`cl`.`calendar_labour_legend_id` AS `labourHolidayLegendFk`,
`cl`.`calendar_free_id` AS `labourHolidayTypeFk`,
`cl`.`workcenter_id` AS `workCenterFk`,
`cl`.`day` AS `dated`
FROM
`postgresql`.`calendar_labour` `cl`;