mirror of
https://github.com/danielbrendel/hortusfox-web.git
synced 2026-02-19 21:09:16 -06:00
#9 Add to upgrade method
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user