Main released ProjectionThreadsPinOrderKey (038), ProjectionProjectsDefaultThreadEnvMode (039) and ProjectionProjectFaviconPath (040), so the branch-private v2 stack shifts up by three. Registry ids were already 41-49; this renames the files and identifiers to match and updates the ledger expectations and through-id boundaries in the migration tests (released boundary 37 -> 40). Co-Authored-By: Claude Fable 5 <[email protected]>
24 lines
725 B
TypeScript
24 lines
725 B
TypeScript
import * as Effect from "effect/Effect";
|
|
import * as SqlClient from "effect/unstable/sql/SqlClient";
|
|
|
|
export default Effect.gen(function* () {
|
|
const sql = yield* SqlClient.SqlClient;
|
|
yield* sql`
|
|
CREATE TABLE IF NOT EXISTS orchestration_v2_thread_launch_workflows (
|
|
command_id TEXT PRIMARY KEY,
|
|
thread_id TEXT NOT NULL,
|
|
project_id TEXT NOT NULL,
|
|
status TEXT NOT NULL,
|
|
title TEXT NOT NULL,
|
|
worktree_path TEXT,
|
|
branch TEXT,
|
|
setup_committed INTEGER NOT NULL DEFAULT 0,
|
|
thread_committed INTEGER NOT NULL DEFAULT 0,
|
|
message_committed INTEGER NOT NULL DEFAULT 0,
|
|
last_error TEXT,
|
|
created_at TEXT NOT NULL,
|
|
updated_at TEXT NOT NULL
|
|
)
|
|
`;
|
|
});
|