diff options
author | Busfreak <Busfreak@users.noreply.github.com> | 2016-07-05 17:09:13 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2016-07-05 11:09:13 -0400 |
commit | 6ccd8c11faff4a8b5209b45c140d12f94d97449b (patch) | |
tree | 74fda85e7f5d1ab359e4aa77c8b944e92da59805 /app/Schema/Postgres.php | |
parent | b215296f971eaf35773218740d3d6696f8dc2310 (diff) |
Hide tasks within specific columns in dashboard (#2424)
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 229cbd25..b982bcae 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -6,7 +6,12 @@ use PDO; use Kanboard\Core\Security\Token; use Kanboard\Core\Security\Role; -const VERSION = 90; +const VERSION = 91; + +function version_91(PDO $pdo) +{ + $pdo->exec("ALTER TABLE columns ADD COLUMN hide_in_dashboard BOOLEAN DEFAULT '0'"); +} function version_90(PDO $pdo) { |