15 lines
412 B
MySQL
15 lines
412 B
MySQL
|
|
-- Phase 4: Add language/voice/tokens columns to ai_conversations.
|
||
|
|
-- These are non-destructive ALTERs with defaults so they are safe to run on
|
||
|
|
-- an existing database.
|
||
|
|
|
||
|
|
BEGIN;
|
||
|
|
|
||
|
|
ALTER TABLE ai_conversations
|
||
|
|
DROP COLUMN IF EXISTS language,
|
||
|
|
DROP COLUMN IF EXISTS has_voice,
|
||
|
|
DROP COLUMN IF EXISTS voice_duration_ms,
|
||
|
|
DROP COLUMN IF EXISTS tokens_estimate,
|
||
|
|
DROP COLUMN IF EXISTS summary;
|
||
|
|
|
||
|
|
COMMIT;
|