diff options
author | David-Norris <Dave@Rachels-MacBook-Pro.local> | 2015-05-03 00:12:28 -0400 |
---|---|---|
committer | David-Norris <Dave@Rachels-MacBook-Pro.local> | 2015-05-03 00:12:28 -0400 |
commit | a314bbb489eff2d419481ad001805ce13edb5352 (patch) | |
tree | 43961ee5b42857f905eb8042af5090d0a4413221 /app/Schema/Sqlite.php | |
parent | fa5aaa60934223f74c9b9c32e7599f53c72a81fd (diff) |
Initial Recurring Tasks Commit
Initial Recurring Tasks Commit
No Locales Updated.
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r-- | app/Schema/Sqlite.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php index 79c50458..714d0e2f 100644 --- a/app/Schema/Sqlite.php +++ b/app/Schema/Sqlite.php @@ -6,7 +6,18 @@ use Core\Security; use PDO; use Model\Link; -const VERSION = 65; +const VERSION = 66; + +function version_66($pdo) +{ + $pdo->exec('ALTER TABLE tasks ADD COLUMN recurrence_status INTEGER NOT NULL DEFAULT 0'); + $pdo->exec('ALTER TABLE tasks ADD COLUMN recurrence_trigger INTEGER NOT NULL DEFAULT 0'); + $pdo->exec('ALTER TABLE tasks ADD COLUMN recurrence_factor INTEGER NOT NULL DEFAULT 0'); + $pdo->exec('ALTER TABLE tasks ADD COLUMN recurrence_timeframe INTEGER NOT NULL DEFAULT 0'); + $pdo->exec('ALTER TABLE tasks ADD COLUMN recurrence_basedate INTEGER NOT NULL DEFAULT 0'); + $pdo->exec('ALTER TABLE tasks ADD COLUMN recurrence_parent INTEGER'); + $pdo->exec('ALTER TABLE tasks ADD COLUMN recurrence_child INTEGER'); +} function version_65($pdo) { |