fix(stock): ignore doses from other medications (#533)

* fix(stock): ignore doses from other medications

* test(backend): add timezone column to in-memory user_settings schemas
This commit is contained in:
Daniel Volz
2026-04-10 22:33:58 +02:00
committed by GitHub
parent b70fc88921
commit e42e4f5639
4 changed files with 19 additions and 2 deletions
+1
View File
@@ -117,6 +117,7 @@ async function createSchema(client: Client) {
`CREATE TABLE IF NOT EXISTS user_settings (
id integer PRIMARY KEY AUTOINCREMENT,
user_id integer NOT NULL UNIQUE,
timezone text NOT NULL DEFAULT '',
email_enabled integer NOT NULL DEFAULT 0,
notification_email text,
email_stock_reminders integer NOT NULL DEFAULT 1,