Files
lcbp3.np-dms.work/mariadb/data/dms/v_user_project_roles.frm
2025-09-21 20:29:15 +07:00

17 lines
1.6 KiB
Plaintext

TYPE=VIEW
query=select `u`.`user_id` AS `user_id`,`u`.`username` AS `username`,`u`.`email` AS `email`,`u`.`is_active` AS `is_active`,`p`.`project_id` AS `project_id`,`p`.`project_code` AS `project_code`,`p`.`project_name` AS `project_name`,`r`.`role_code` AS `role_code`,`r`.`role_name` AS `role_name` from (((`dms`.`users` `u` join `dms`.`user_project_roles` `upr` on(`upr`.`user_id` = `u`.`user_id`)) join `dms`.`roles` `r` on(`r`.`role_id` = `upr`.`role_id`)) join `dms`.`projects` `p` on(`p`.`project_id` = `upr`.`project_id`))
md5=815e32161467f9870984fff1b1ecbfc6
updatable=1
algorithm=0
definer_user=root
definer_host=localhost
suid=2
with_check_option=0
timestamp=0001757826203287431
create-version=2
source=SELECT u.user_id, u.username, u.email, u.is_active,\n p.project_id, p.project_code, p.project_name,\n r.role_code, r.role_name\nFROM users u\nJOIN user_project_roles upr ON upr.user_id = u.user_id\nJOIN roles r ON r.role_id = upr.role_id\nJOIN projects p ON p.project_id= upr.project_id
client_cs_name=utf8mb4
connection_cl_name=utf8mb4_general_ci
view_body_utf8=select `u`.`user_id` AS `user_id`,`u`.`username` AS `username`,`u`.`email` AS `email`,`u`.`is_active` AS `is_active`,`p`.`project_id` AS `project_id`,`p`.`project_code` AS `project_code`,`p`.`project_name` AS `project_name`,`r`.`role_code` AS `role_code`,`r`.`role_name` AS `role_name` from (((`dms`.`users` `u` join `dms`.`user_project_roles` `upr` on(`upr`.`user_id` = `u`.`user_id`)) join `dms`.`roles` `r` on(`r`.`role_id` = `upr`.`role_id`)) join `dms`.`projects` `p` on(`p`.`project_id` = `upr`.`project_id`))
mariadb-version=101114