Files
xinmi/migrations/versioned/000015_add_is_fallback.up.sql
T

4 lines
221 B
SQL
Raw Normal View History

-- Add is_fallback column to messages table
-- Tracks whether a response was generated using fallback logic (no knowledge base match found)
ALTER TABLE messages ADD COLUMN IF NOT EXISTS is_fallback BOOLEAN DEFAULT FALSE;