update:优化ai_model_provider的fields字段

This commit is contained in:
hrz
2025-05-20 18:04:33 +08:00
parent ac9abf8ede
commit 5f16c871dc
2 changed files with 11 additions and 1 deletions
@@ -0,0 +1,3 @@
-- 更新ai_model_provider的fields字段,将type为dict的改为string
update ai_model_provider set fields = replace(fields, '"type": "dict"', '"type": "string"') where id not in ('SYSTEM_LLM_fastgpt', 'SYSTEM_TTS_custom');
update ai_model_provider set fields = replace(fields, '"type":"dict"', '"type": "string"') where id not in ('SYSTEM_LLM_fastgpt', 'SYSTEM_TTS_custom');
@@ -148,4 +148,11 @@ databaseChangeLog:
changes:
- sqlFile:
encoding: utf8
path: classpath:db/changelog/202505182234.sql
path: classpath:db/changelog/202505182234.sql
- changeSet:
id: 202505201744
author: hrz
changes:
- sqlFile:
encoding: utf8
path: classpath:db/changelog/202505201744.sql