diff options
author | Aurélien <cadiou.aurelien@gmail.com> | 2018-04-02 23:07:04 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-04-02 14:07:04 -0700 |
commit | 5f7a3442d61b99e2fbad732bd0eaf9ad64398274 (patch) | |
tree | 78d2b159be9d2df92e28c90164430fdac2a4cac7 /app/Schema/Mysql.php | |
parent | bc4457c4cb096a448d88ca882d30bae15aff56c3 (diff) |
Add default filter per user
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 32171d17..b73ce8c0 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -8,7 +8,12 @@ use PDO; use Kanboard\Core\Security\Token; use Kanboard\Core\Security\Role; -const VERSION = 127; +const VERSION = 128; + +function version_128(PDO $pdo) +{ + $pdo->exec('ALTER TABLE `users` ADD COLUMN `filter` VARCHAR(255) DEFAULT NULL'); +} function version_127(PDO $pdo) { |