Files
gochat/migrations/000025_add_account_captain_preferences.up.sql
T

7 lines
333 B
SQL

-- Chatwoot stores Captain model/feature preferences in account settings.
ALTER TABLE accounts
ADD COLUMN IF NOT EXISTS captain_models JSONB NOT NULL DEFAULT '{}',
ADD COLUMN IF NOT EXISTS captain_features JSONB NOT NULL DEFAULT '{}',
ADD COLUMN IF NOT EXISTS keep_pending_on_bot_failure BOOLEAN NOT NULL DEFAULT FALSE;