Files
WhispAssist/src-tauri/migrations/0004_speaker_merge.sql
T
iamdoubz 5757cd7345 Phase 4
2026-07-01 07:53:23 -05:00

9 lines
432 B
SQL

-- WhispAssist speaker-merge schema (Phase 4, T4.5, FR-SPK-3).
-- Forward-only migration. Mirrors docs/03-data-model.md.
PRAGMA foreign_keys = ON;
-- Folds an over-split speaker into a canonical label without touching segment
-- speaker IDs in storage (FR-SPK-5): a non-null merged_into means this row's
-- label resolves to `merged_into` at render/export time instead of its own.
ALTER TABLE speakers ADD COLUMN merged_into TEXT;