diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-12-28 15:39:39 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-12-28 15:39:39 -0500 |
commit | e59be3dc021e81babaacf70661737cbba42c80cc (patch) | |
tree | 76fd26ca5ce17261927917699b6fb4e689df054e /app/Schema/Mysql.php | |
parent | bcbc1b78c67860a1037e77a97c260899611adcdc (diff) |
Add default project categories in settings
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r-- | app/Schema/Mysql.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index 7fc8da6a..4d155f26 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -5,7 +5,13 @@ namespace Schema; use PDO; use Core\Security; -const VERSION = 38; +const VERSION = 39; + +function version_39($pdo) +{ + $rq = $pdo->prepare('INSERT INTO settings VALUES (?, ?)'); + $rq->execute(array('project_categories', '')); +} function version_38($pdo) { |