mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
add: 添加对于db的配套修改
This commit is contained in:
parent
8f126e6e2a
commit
e857665899
2 changed files with 12 additions and 1 deletions
|
|
@ -0,0 +1,4 @@
|
|||
-- 添加腾讯语音合成模型供应器
|
||||
delete from `ai_model_provider` where id = 'SYSTEM_TTS_TencentTTS';
|
||||
INSERT INTO `ai_model_provider` (`id`, `model_type`, `provider_code`, `name`, `fields`, `sort`, `creator`, `create_date`, `updater`, `update_date`) VALUES
|
||||
('SYSTEM_TTS_TencentTTS', 'TTS', 'tencent', '腾讯语音合成', '[{"key":"appid","label":"应用ID","type":"string"},{"key":"secret_id","label":"Secret ID","type":"string"},{"key":"secret_key","label":"Secret Key","type":"string"},{"key":"output_dir","label":"输出目录","type":"string"},{"key":"region","label":"区域","type":"string"},{"key":"voice","label":"音色ID","type":"string"},{"key":"fast_voice_type","label":"FastVoiceType","type":"string"}]', 5, 1, NOW(), 1, NOW());
|
||||
|
|
@ -99,4 +99,11 @@ databaseChangeLog:
|
|||
changes:
|
||||
- sqlFile:
|
||||
encoding: utf8
|
||||
path: classpath:db/changelog/202505012207.sql
|
||||
path: classpath:db/changelog/202505012207.sql
|
||||
- changeSet:
|
||||
id: 202505042342
|
||||
author: Kevin1sMe
|
||||
changes:
|
||||
- sqlFile:
|
||||
encoding: utf8
|
||||
path: classpath:db/changelog/202505042342.sql
|
||||
Loading…
Reference in a new issue