CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn2008`.`device_user` AS SELECT `dpu`.`deviceProductionFk` AS `device_id`, `dpu`.`userFk` AS `user_id` FROM `vn`.`deviceProductionUser` `dpu`