From dedf425e8168b2c38e8566a3d407f77fb11cc001 Mon Sep 17 00:00:00 2001 From: Francois Ferrand Date: Tue, 24 Feb 2015 14:20:34 +0100 Subject: Add project description field. Description is shown in a popup when hovering the 'information' icon, like column description, which is shown in project list on dashboard and in board's title. This is useful to document the categories and colors used in the project. --- app/Schema/Sqlite.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/Schema/Sqlite.php') diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php index c6dec33f..eefa0ae1 100644 --- a/app/Schema/Sqlite.php +++ b/app/Schema/Sqlite.php @@ -6,7 +6,12 @@ use Core\Security; use PDO; use Model\Link; -const VERSION = 45; +const VERSION = 46; + +function version_46($pdo) +{ + $pdo->exec('ALTER TABLE projects ADD COLUMN description TEXT'); +} function version_45($pdo) { -- cgit v1.2.3