fix(11-01): add mode column to test database schema

- Add mode column to agents table in test-helpers CREATE_TABLES_SQL
- Generate drizzle migration for mode column
This commit is contained in:
Lukas May
2026-01-31 19:07:54 +01:00
parent 131a97e1c5
commit f7edac7a5c
4 changed files with 731 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ CREATE TABLE IF NOT EXISTS agents (
session_id TEXT,
worktree_id TEXT NOT NULL,
status TEXT NOT NULL DEFAULT 'idle',
mode TEXT NOT NULL DEFAULT 'execute',
created_at INTEGER NOT NULL,
updated_at INTEGER NOT NULL
);