mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-26 04:39:53 +01:00
update:优化ai_model_provider的fields字段
This commit is contained in:
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:
|
changes:
|
||||||
- sqlFile:
|
- sqlFile:
|
||||||
encoding: utf8
|
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
|
||||||
Loading…
Reference in a new issue