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/Postgres.php | |
parent | 9eeb7d18201ad817d8c5eb88995a48c5bd44d22a (diff) |
Add settings option to define the default task color
Diffstat (limited to 'app/Schema/Postgres.php')
-rw-r--r-- | app/Schema/Postgres.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index fca87766..b436db1b 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -6,7 +6,12 @@ use PDO; use Core\Security; use Model\Link; -const VERSION = 59; +const VERSION = 60; + +function version_60($pdo) +{ + $pdo->exec("INSERT INTO settings VALUES ('default_color', 'yellow')"); +} function version_59($pdo) { |