diff --git a/core/schema.sql b/core/schema.sql index 00add92..557a63d 100644 --- a/core/schema.sql +++ b/core/schema.sql @@ -36,6 +36,7 @@ CREATE TABLE IF NOT EXISTS sessions ( project_id INTEGER NOT NULL, started_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, ended_at TIMESTAMP, + status TEXT DEFAULT 'running' CHECK (status IN ('running', 'paused', 'completed', 'stopped')), duration_seconds INTEGER DEFAULT 0, total_spent_ped REAL DEFAULT 0.0, -- Decimal stored as REAL, handled in code total_return_ped REAL DEFAULT 0.0,