SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci;

-- 主播提现列表是运营负责人日常查看入口；072 首次上线只覆盖了基础角色，
-- 这里补齐线上已有 yunying-leader，避免菜单可见但接口因 JWT 权限快照缺码返回 403。
INSERT IGNORE INTO admin_role_permissions (role_id, permission_id)
SELECT admin_role.id, admin_permission.id
FROM admin_roles admin_role
JOIN admin_permissions admin_permission
WHERE admin_role.code = 'yunying-leader'
  AND admin_permission.code = 'host-withdrawal:view';
