Skip to content

Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

Fix bug when creating database

ellite2e55e105b555
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,