15 lines
753 B
SQL
15 lines
753 B
SQL
-- 018: 将 market_apps.capability 从旧的「AI 技术能力」取值规范为「业务场景」取值
|
|
-- 旧的 text/thinking/vision/tool/image/audio/asr/ocr/embedding/rerank/video 已不再使用,
|
|
-- 统一置空,后续由 AI 验证 / 导入阶段按业务场景重新归类。
|
|
-- 幂等:执行一次后不再有匹配行,可安全每次重启重跑。
|
|
UPDATE market_apps
|
|
SET capability = NULL
|
|
WHERE capability IS NOT NULL
|
|
AND capability NOT IN (
|
|
'freelance_content', 'freelance_client', 'freelance_finance',
|
|
'office_doc', 'office_data', 'office_email', 'office_pm',
|
|
'edu_prepare', 'edu_grade', 'edu_tutor', 'edu_home',
|
|
'biz_product', 'biz_service', 'biz_ops',
|
|
'general_write', 'general_research', 'general_agent'
|
|
);
|