You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
348 B
9 lines
348 B
CREATE TABLE IF NOT EXISTS llm_events ( |
|
id BIGSERIAL PRIMARY KEY, |
|
created_at TIMESTAMPTZ DEFAULT NOW(), |
|
event_type TEXT NOT NULL, |
|
detail JSONB |
|
); |
|
|
|
CREATE INDEX IF NOT EXISTS llm_events_type_idx ON llm_events (event_type); |
|
CREATE INDEX IF NOT EXISTS llm_events_created_idx ON llm_events (created_at DESC);
|
|
|