From 2e55e105b555986c55701805a73eea997e92ed41 Mon Sep 17 00:00:00 2001 From: ellite Date: Fri, 10 Nov 2023 14:46:23 +0100 Subject: [PATCH] Fix bug when creating database --- endpoints/cronjobs/createdatabase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/cronjobs/createdatabase.php b/endpoints/cronjobs/createdatabase.php index 3459dbe..41f24d2 100644 --- a/endpoints/cronjobs/createdatabase.php +++ b/endpoints/cronjobs/createdatabase.php @@ -95,7 +95,7 @@ if (!file_exists($databaseFile)) { date DATE NOT NULL )'); - $db-exec('CREATE TABLE notifications ( + $db->exec('CREATE TABLE notifications ( id INTEGER PRIMARY KEY, enabled BOOLEAN DEFAULT false, days INTEGER,