summaryrefslogtreecommitdiff
path: root/app/Schema/Postgres.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-19 14:14:05 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-19 14:14:05 -0400
commitd1bfc29f1b738b396e4fb9befa9b49c24f4e9249 (patch)
treefa41906a61007c0893ca7ab238ed52f853bb452f /app/Schema/Postgres.php
parent9eeb7d18201ad817d8c5eb88995a48c5bd44d22a (diff)
Add settings option to define the default task color
Diffstat (limited to 'app/Schema/Postgres.php')
-rw-r--r--app/Schema/Postgres.php7
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)
{