THREADPLANE_CLIENT_TOOL_EXECUTIONS_SCHEMA
Fresh installations only. Existing tables require the explicit migration.
import { THREADPLANE_CLIENT_TOOL_EXECUTIONS_SCHEMA } from '@threadplane/middleware/langgraph';Declaration
THREADPLANE_CLIENT_TOOL_EXECUTIONS_SCHEMA = "\nCREATE TABLE IF NOT EXISTS threadplane_client_tool_executions (\n tenant_id text NOT NULL DEFAULT '',\n thread_id text NOT NULL,\n tool_call_id text NOT NULL,\n status text NOT NULL,\n result jsonb,\n invocation text,\n owner_token text NOT NULL,\n encoded_result text,\n created_at timestamptz NOT NULL DEFAULT now(),\n updated_at timestamptz NOT NULL DEFAULT now(),\n PRIMARY KEY (tenant_id, thread_id, tool_call_id)\n);\n"