mirror of
https://github.com/coleam00/Archon
synced 2026-04-21 13:37:41 +00:00
9 lines
409 B
MySQL
9 lines
409 B
MySQL
|
|
-- 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';
|