diff options
author | Julian Maurice <julian.maurice@biblibre.com> | 2018-08-09 19:45:51 +0200 |
---|---|---|
committer | Julian Maurice <julian.maurice@biblibre.com> | 2018-08-09 19:45:51 +0200 |
commit | ae3ade0908bae350488260ee5d878a2ffbff605a (patch) | |
tree | 747db7edaca2fcb6d3c23594437b995528790ced /app/Schema/Sqlite.php | |
parent | efd64d842d82404612baef58d9debe1af7515a66 (diff) |
Allow to associate project categories to colors
The color is then used as background in the board and list views
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 99731452..7889b133 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 = 118; +const VERSION = 119; + +function version_119(PDO $pdo) +{ + $pdo->exec('ALTER TABLE project_has_categories ADD COLUMN color_id TEXT DEFAULT NULL'); +} function version_118(PDO $pdo) { |