Base: codex-main originale (prima del fork aKode)
This commit is contained in:
13
codex-rs/state/migrations/0002_logs.sql
Normal file
13
codex-rs/state/migrations/0002_logs.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE logs (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
ts INTEGER NOT NULL,
|
||||
ts_nanos INTEGER NOT NULL,
|
||||
level TEXT NOT NULL,
|
||||
target TEXT NOT NULL,
|
||||
message TEXT,
|
||||
module_path TEXT,
|
||||
file TEXT,
|
||||
line INTEGER
|
||||
);
|
||||
|
||||
CREATE INDEX idx_logs_ts ON logs(ts DESC, ts_nanos DESC, id DESC);
|
||||
Reference in New Issue
Block a user