Initialize repository snapshot
This commit is contained in:
10
ledger/schema/0002_indexes.sql
Normal file
10
ledger/schema/0002_indexes.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE INDEX IF NOT EXISTS idx_tool_invocations_ts ON tool_invocations(ts);
|
||||
CREATE INDEX IF NOT EXISTS idx_tool_invocations_tool_ts ON tool_invocations(tool_name, ts);
|
||||
CREATE INDEX IF NOT EXISTS idx_tool_invocations_trace_id ON tool_invocations(trace_id);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_mcp_calls_ts ON mcp_calls(ts);
|
||||
CREATE INDEX IF NOT EXISTS idx_mcp_calls_server_ts ON mcp_calls(server_name, ts);
|
||||
CREATE INDEX IF NOT EXISTS idx_mcp_calls_trace_id ON mcp_calls(trace_id);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_proof_artifacts_ts ON proof_artifacts(ts);
|
||||
CREATE INDEX IF NOT EXISTS idx_proof_artifacts_trace_id ON proof_artifacts(trace_id);
|
||||
Reference in New Issue
Block a user