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/Sqlite.php | |
parent | b215296f971eaf35773218740d3d6696f8dc2310 (diff) |
Hide tasks within specific columns in dashboard (#2424)
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r-- | app/Schema/Sqlite.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php index dac348d4..2a7735ee 100644 --- a/app/Schema/Sqlite.php +++ b/app/Schema/Sqlite.php @@ -6,7 +6,12 @@ use Kanboard\Core\Security\Token; use Kanboard\Core\Security\Role; use PDO; -const VERSION = 102; +const VERSION = 103; + +function version_103(PDO $pdo) +{ + $pdo->exec("ALTER TABLE columns ADD COLUMN hide_in_dashboard INTEGER DEFAULT 0 NOT NULL"); +} function version_102(PDO $pdo) { |