13 lines
349 B
SQL
13 lines
349 B
SQL
USE `vn`;
|
|
CREATE
|
|
OR REPLACE ALGORITHM = UNDEFINED
|
|
DEFINER = `root`@`%`
|
|
SQL SECURITY DEFINER
|
|
VIEW `workerCalendar2` AS
|
|
SELECT
|
|
`ce`.`id` AS `id`,
|
|
`ce`.`business_id` AS `businessFk`,
|
|
`ce`.`calendar_state_id` AS `absenceTypeFk`,
|
|
`ce`.`date` AS `dated`
|
|
FROM `postgresql`.`calendar_employee` `ce`;
|