From a5d1c1597b05898d69876d1335831acfdff354cc Mon Sep 17 00:00:00 2001 From: Daniel Brendel Date: Wed, 12 Mar 2025 15:31:05 +0100 Subject: [PATCH] #9 Add to upgrade method --- app/commands/MigrationUpgrade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/commands/MigrationUpgrade.php b/app/commands/MigrationUpgrade.php index 9cbca8a..540dac0 100644 --- a/app/commands/MigrationUpgrade.php +++ b/app/commands/MigrationUpgrade.php @@ -15,6 +15,8 @@ class MigrationUpgrade implements Asatru\Commands\Command { { TasksModel::raw('ALTER TABLE `@THIS` ADD COLUMN IF NOT EXISTS recurring_time INT NULL'); TasksModel::raw('ALTER TABLE `@THIS` ADD COLUMN IF NOT EXISTS updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP'); + + UserModel::raw('ALTER TABLE `@THIS` ADD COLUMN IF NOT EXISTS notify_tasks_recurring BOOLEAN NOT NULL DEFAULT 1'); } /**