

-- Penugasan departemen: fo_user->FO(1), hk_user->HK(2), hc_user->HC(8), fb_user->FB(3),
-- sm_user->SM(9)
INSERT INTO user_department (id, user_id, department_id, can_edit) VALUES
(1, 3, 1, 1),
(2, 4, 2, 1),
(3, 5, 8, 1),
(4, 6, 3, 1),
(5, 7, 9, 1)
ON DUPLICATE KEY UPDATE can_edit = VALUES(can_edit);
