- Introduced upstreamVoiceId field in voice pack schema and database. - Updated voice pack service to handle upstreamVoiceId in CRUD operations. - Modified API routes and tests to accommodate upstreamVoiceId. - Enhanced UI components to include upstreamVoiceId in forms and displays. - Adjusted speech processing logic to utilize upstreamVoiceId where applicable. - Updated related tests to ensure proper functionality with new field.
4 lines
195 B
SQL
4 lines
195 B
SQL
ALTER TABLE "voice_packs" ADD COLUMN "upstream_voice_id" text;
|
|
UPDATE "voice_packs" SET "upstream_voice_id" = "voice_id";
|
|
ALTER TABLE "voice_packs" ALTER COLUMN "upstream_voice_id" SET NOT NULL;
|