precompute call waveforms and stop list-time audio loading

This commit is contained in:
Ruslan Bakiev
2026-02-23 16:02:57 +07:00
parent 2eb2f3109c
commit 94c01516ba
9 changed files with 128 additions and 7 deletions

View File

@@ -0,0 +1,3 @@
-- AlterTable
ALTER TABLE "ContactMessage" ADD COLUMN "waveformJson" JSONB;

View File

@@ -166,6 +166,7 @@ model ContactMessage {
content String
audioUrl String?
durationSec Int?
waveformJson Json?
transcriptJson Json?
occurredAt DateTime @default(now())
createdAt DateTime @default(now())