From f8cefcb640c3e09a0e7a9426162f59e3704cd9f3 Mon Sep 17 00:00:00 2001 From: Evan Reichard Date: Sun, 1 Dec 2024 20:22:23 -0500 Subject: [PATCH] fix(streaks): incorrect calculation logic --- database/schema.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/database/schema.sql b/database/schema.sql index 8451df8..c26ec3d 100644 --- a/database/schema.sql +++ b/database/schema.sql @@ -147,6 +147,7 @@ CREATE TABLE IF NOT EXISTS document_user_statistics ( ); -- User Streaks Table +DROP TABLE IF EXISTS user_streaks; CREATE TABLE IF NOT EXISTS user_streaks ( user_id TEXT NOT NULL, window TEXT NOT NULL,