salix/db/changes/10003-easter/01-dmsTicketRename.sql

13 lines
309 B
MySQL
Raw Normal View History

2019-04-25 16:30:11 +00:00
DROP VIEW IF EXISTS `vn`.`dmsTicket` ;
USE `vn`;
CREATE
OR REPLACE ALGORITHM = UNDEFINED
DEFINER = `root`@`%`
SQL SECURITY DEFINER
VIEW `vn`.`ticketDms` AS
SELECT
2019-05-01 16:49:39 +00:00
`g`.`Id_Ticket` AS `ticketFk`,
`g`.`gestdoc_id` AS `dmsFk`
2019-04-25 16:30:11 +00:00
FROM
`vn2008`.`tickets_gestdoc` `g`;