mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-08 04:06:18 -04:00
feat(backend): implement session coverage, resumable ingestion, deep year backfill, backoff rate-limit, and dynamic cache TTLs
This commit is contained in:
9
internal/store/migrations/004_coverage.sql
Normal file
9
internal/store/migrations/004_coverage.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE IF NOT EXISTS session_coverage (
|
||||
session_key INTEGER NOT NULL,
|
||||
dataset TEXT NOT NULL,
|
||||
status TEXT NOT NULL DEFAULT 'pending',
|
||||
row_count INTEGER NOT NULL DEFAULT 0,
|
||||
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
||||
error_msg TEXT,
|
||||
PRIMARY KEY (session_key, dataset)
|
||||
);
|
||||
Reference in New Issue
Block a user