mirror of
https://github.com/openai/codex.git
synced 2026-04-30 17:36:40 +00:00
changes
This commit is contained in:
11
codex-rs/state/migrations/0004_thread_dynamic_tools.sql
Normal file
11
codex-rs/state/migrations/0004_thread_dynamic_tools.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE thread_dynamic_tools (
|
||||
thread_id TEXT NOT NULL,
|
||||
position INTEGER NOT NULL,
|
||||
name TEXT NOT NULL,
|
||||
description TEXT NOT NULL,
|
||||
input_schema TEXT NOT NULL,
|
||||
PRIMARY KEY(thread_id, position),
|
||||
FOREIGN KEY(thread_id) REFERENCES threads(id) ON DELETE CASCADE
|
||||
);
|
||||
|
||||
CREATE INDEX idx_thread_dynamic_tools_thread ON thread_dynamic_tools(thread_id);
|
||||
Reference in New Issue
Block a user