add: 添加对于db的配套修改

This commit is contained in:
kevin1sMe 2025-05-04 23:46:30 +08:00
parent 8f126e6e2a
commit e857665899
2 changed files with 12 additions and 1 deletions

View file

@ -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());

View file

@ -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