Add initial stub for sqlite job archive backend

This commit is contained in:
2025-10-29 08:51:09 +01:00
parent 3e2fd9224e
commit 21ab514b8f
2 changed files with 270 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
CREATE TABLE IF NOT EXISTS "job" (
id INTEGER PRIMARY KEY,
clustername TEXT NOT NULL,
job_id INTEGER NOT NULL,
start_time INTEGER NOT NULL, -- Unix timestamp
meta_data TEXT, -- JSON
metric_data BLOB,
UNIQUE ("job_id", "clustername", "start_time")
);