-- ============================================================
-- 修复脚本：更新V5中provider_type的值
-- 问题：V5插入的RunningHub模型provider_type为空字符串，应为'runninghub'
-- 执行时间：2025-10-20
-- ============================================================

-- 更新所有RunningHub模型的provider_type
UPDATE `points_config` 
SET `provider_type` = 'runninghub' 
WHERE `model_name` LIKE 'rh_sora2_%' 
  AND (`provider_type` = '' OR `provider_type` IS NULL);

-- 验证更新结果
SELECT model_name, provider_type, description 
FROM `points_config` 
WHERE `model_name` LIKE 'rh_sora2_%';

-- 预期结果：所有RunningHub模型的provider_type应为'runninghub'


