9 lines
425 B
SQL
9 lines
425 B
SQL
-- Migration: Add running column to strategies table
|
|
-- This separates "running manually" state from "enabled for Autopilot" state
|
|
|
|
ALTER TABLE strategies ADD COLUMN IF NOT EXISTS running BOOLEAN DEFAULT FALSE;
|
|
|
|
-- Comment explaining the difference
|
|
COMMENT ON COLUMN strategies.enabled IS 'Available to Autopilot with custom params';
|
|
COMMENT ON COLUMN strategies.running IS 'Currently running manually (bypasses Autopilot)';
|