summaryrefslogtreecommitdiff
path: root/app/Schema/Sqlite.php
diff options
context:
space:
mode:
authorAurélien <cadiou.aurelien@gmail.com>2018-04-02 23:07:04 +0200
committerFrédéric Guillot <fred@kanboard.net>2018-04-02 14:07:04 -0700
commit5f7a3442d61b99e2fbad732bd0eaf9ad64398274 (patch)
tree78d2b159be9d2df92e28c90164430fdac2a4cac7 /app/Schema/Sqlite.php
parentbc4457c4cb096a448d88ca882d30bae15aff56c3 (diff)
Add default filter per user
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r--app/Schema/Sqlite.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php
index e40b2aeb..aced61e0 100644
--- a/app/Schema/Sqlite.php
+++ b/app/Schema/Sqlite.php
@@ -8,7 +8,12 @@ use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
use PDO;
-const VERSION = 117;
+const VERSION = 118;
+
+function version_118(PDO $pdo)
+{
+ $pdo->exec('ALTER TABLE users ADD COLUMN filter VARCHAR(255) DEFAULT NULL');
+}
function version_117(PDO $pdo)
{