-- Rename tenant-scoped administrator roles so tenant pages do not expose
-- platform-super-admin terminology.
UPDATE `Role`
SET `code` = 'tenant_admin',
    `name` = '租户管理员',
    `description` = '租户初始化管理员角色'
WHERE `tenantId` IS NOT NULL
  AND `code` = 'super_admin';
