diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-07-19 14:14:05 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-07-19 14:14:05 -0400 |
commit | d1bfc29f1b738b396e4fb9befa9b49c24f4e9249 (patch) | |
tree | fa41906a61007c0893ca7ab238ed52f853bb452f /app/Schema/Mysql.php | |
parent | 9eeb7d18201ad817d8c5eb88995a48c5bd44d22a (diff) |
Add settings option to define the default task color
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r-- | app/Schema/Mysql.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index 769a7425..c62f3a72 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -6,7 +6,12 @@ use PDO; use Core\Security; use Model\Link; -const VERSION = 79; +const VERSION = 80; + +function version_80($pdo) +{ + $pdo->exec("INSERT INTO settings VALUES ('default_color', 'yellow')"); +} function version_79($pdo) { |