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/Postgres.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/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 bd2ba1e1..cd4e0fac 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -8,7 +8,12 @@ use PDO; use Kanboard\Core\Security\Token; use Kanboard\Core\Security\Role; -const VERSION = 109; +const VERSION = 110; + +function version_110(PDO $pdo) +{ + $pdo->exec('ALTER TABLE "project_has_categories" ADD COLUMN "color_id" VARCHAR(50) DEFAULT NULL'); +} function version_109(PDO $pdo) { |