summaryrefslogtreecommitdiff
path: root/app/Schema/Postgres.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-03-16 22:12:16 -0400
committerFrederic Guillot <fred@kanboard.net>2015-03-16 22:12:16 -0400
commit50f98abfd3a9843c8e4ac0433a4fbf41757be46e (patch)
tree7e3aea7503f03fd0c9589ae70485e34a6c5ec345 /app/Schema/Postgres.php
parent32fb1f65c5179ba8f7b31374d5311c4110ef6e28 (diff)
Merge and improve pull-request #666 (custom stylesheet)
Diffstat (limited to 'app/Schema/Postgres.php')
-rw-r--r--app/Schema/Postgres.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php
index 331205fa..2396000f 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 = 34;
+const VERSION = 35;
+
+function version_35($pdo)
+{
+ $rq = $pdo->prepare('INSERT INTO settings VALUES (?, ?)');
+ $rq->execute(array('application_stylesheet', ''));
+}
function version_34($pdo)
{