mirror of
https://github.com/coleam00/Archon
synced 2026-04-21 13:37:41 +00:00
- Fix workflow_runs.status DEFAULT from 'running' to 'pending' in Postgres (migration 018) to match SQLite and actual code flow - Rebuild 000_combined.sql as clean final schema (7 tables, no stale columns, correct defaults, all indexes) - Update all docs to present SQLite as the default, zero-setup option - Mark PostgreSQL as optional/advanced in README, CLAUDE.md, and guides Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 lines
409 B
SQL
8 lines
409 B
SQL
-- Fix workflow_runs.status default to match SQLite and actual code flow
|
|
-- Version: 18.0
|
|
-- Description: The executor creates workflow runs as 'pending' then explicitly
|
|
-- sets them to 'running'. Migration 008 incorrectly set DEFAULT 'running'.
|
|
-- SQLite adapter already uses DEFAULT 'pending'. This aligns PostgreSQL.
|
|
|
|
ALTER TABLE remote_agent_workflow_runs
|
|
ALTER COLUMN status SET DEFAULT 'pending';
|