diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-03-26 20:49:37 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-03-26 20:49:37 -0400 |
commit | d3ae8d2acb218c8e1bc50ed1b92c19016e9214ee (patch) | |
tree | 1fbf207bb2e1f681f8477f4273f084ce9c64f727 /app/Schema | |
parent | 626ad566f718e0c0f63034ecc76604d22d4b2a06 (diff) |
Display subtask estimates in the user calendar according to the timetable
Diffstat (limited to 'app/Schema')
-rw-r--r-- | app/Schema/Mysql.php | 8 | ||||
-rw-r--r-- | app/Schema/Postgres.php | 8 | ||||
-rw-r--r-- | app/Schema/Sqlite.php | 8 |
3 files changed, 21 insertions, 3 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index a78ffacf..3669a647 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -6,7 +6,13 @@ use PDO; use Core\Security; use Model\Link; -const VERSION = 54; +const VERSION = 55; + +function version_55($pdo) +{ + $rq = $pdo->prepare('INSERT INTO settings VALUES (?, ?)'); + $rq->execute(array('subtask_forecast', '0')); +} function version_54($pdo) { diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index 2396000f..b60e441b 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -6,7 +6,13 @@ use PDO; use Core\Security; use Model\Link; -const VERSION = 35; +const VERSION = 36; + +function version_36($pdo) +{ + $rq = $pdo->prepare('INSERT INTO settings VALUES (?, ?)'); + $rq->execute(array('subtask_forecast', '0')); +} function version_35($pdo) { diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php index 0e0512d0..34ac2c6f 100644 --- a/app/Schema/Sqlite.php +++ b/app/Schema/Sqlite.php @@ -6,7 +6,13 @@ use Core\Security; use PDO; use Model\Link; -const VERSION = 53; +const VERSION = 54; + +function version_54($pdo) +{ + $rq = $pdo->prepare('INSERT INTO settings VALUES (?, ?)'); + $rq->execute(array('subtask_forecast', '0')); +} function version_53($pdo) { |