summaryrefslogtreecommitdiff
path: root/app/Schema/Mysql.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-04-11 16:26:45 -0400
committerFrederic Guillot <fred@kanboard.net>2015-04-11 16:26:45 -0400
commitd3727e92a6000a01fb962e559f8e6b936def1fb9 (patch)
tree23a12c7c7db5644f0a938eb0d4bed2c81d811a61 /app/Schema/Mysql.php
parent52bc2efc65af690b075d58dcff23eac97d1a0495 (diff)
Add category description (merge and modify pull-request #692)
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r--app/Schema/Mysql.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php
index 91e744a4..c2bfc97a 100644
--- a/app/Schema/Mysql.php
+++ b/app/Schema/Mysql.php
@@ -6,7 +6,12 @@ use PDO;
use Core\Security;
use Model\Link;
-const VERSION = 62;
+const VERSION = 63;
+
+function version_63($pdo)
+{
+ $pdo->exec('ALTER TABLE project_has_categories ADD COLUMN description TEXT');
+}
function version_62($pdo)
{