Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/db/migrations/0015_rename_briefing_to_splitting.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ UPDATE agent_configs
SET agent_type = 'splitting'
WHERE agent_type = 'briefing';

-- 2. Update runs table
UPDATE runs
SET agent_type = 'splitting'
WHERE agent_type = 'briefing';
-- 2. Update runs table (if it exists — some environments use external run storage)
DO $$
BEGIN
IF EXISTS (SELECT 1 FROM information_schema.tables WHERE table_name = 'runs') THEN
UPDATE runs SET agent_type = 'splitting' WHERE agent_type = 'briefing';
END IF;
END $$;

-- 3. Update project_integrations JSONB fields

Expand Down