Analytics: Verdichtung, Statistik, Heatmap-Daten
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6233850bb3
commit
305939fdbd
9 files changed
+569
-2
No files matched your search
@@ -44,6 +44,12 @@ CREATE TABLE IF NOT EXISTS daily (
|
||||
count INTEGER NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (site, day, dim, key)
|
||||
);
|
||||
-- Merker für die Nachtverdichtung: Tage, die schon in daily stehen (macht runNightly idempotent).
|
||||
CREATE TABLE IF NOT EXISTS agg_state (
|
||||
site TEXT NOT NULL,
|
||||
day TEXT NOT NULL,
|
||||
PRIMARY KEY (site, day)
|
||||
);
|
||||
`;
|
||||
|
||||
export function openDb(path) {
|
||||
|
||||
Reference in new issue
Block a user