nxtgauge-backend-rust/crates/db/migrations/20260608020000_ai_phase4_columns.down.sql

15 lines
412 B
MySQL
Raw Normal View History

-- 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;