Files
moeka-project/apps/server/drizzle/0015_concerned_piledriver.sql
T
RainbowBird e6fa39ed4b feat(server): voice pack and tts routing (#1905)
Track per-app TTS concurrency in Redis, route capped upstreams by
available pool capacity, and surface pool saturation metrics. Document
the Voice Pack plan so the remaining backend and card-binding work has
an explicit implementation map.
2026-06-05 22:39:30 +08:00

15 lines
445 B
SQL

CREATE TABLE "voice_packs" (
"id" text PRIMARY KEY NOT NULL,
"name" text NOT NULL,
"description" text,
"provider" text NOT NULL,
"model" text NOT NULL,
"voice_id" text NOT NULL,
"tts_model_id" text NOT NULL,
"params" jsonb DEFAULT '{}'::jsonb NOT NULL,
"cost_multiplier" real DEFAULT 1 NOT NULL,
"enabled" boolean DEFAULT true NOT NULL,
"created_at" timestamp DEFAULT now() NOT NULL,
"updated_at" timestamp DEFAULT now() NOT NULL
);