salix/db/routines/vn2008/views/workerDocument.sql

9 lines
334 B
SQL

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`workerDocument`
AS SELECT `vn`.`workerDocument`.`id` AS `id`,
`vn`.`workerDocument`.`worker` AS `worker`,
`vn`.`workerDocument`.`document` AS `document`,
`vn`.`workerDocument`.`isReadableByWorker` AS `isReadableByWorker`
FROM `vn`.`workerDocument`