summaryrefslogtreecommitdiff
path: root/app/Schema/Postgres.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/Postgres.php
parent52bc2efc65af690b075d58dcff23eac97d1a0495 (diff)
Add category description (merge and modify pull-request #692)
Diffstat (limited to 'app/Schema/Postgres.php')
-rw-r--r--app/Schema/Postgres.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php
index 0c4c4829..80f29219 100644
--- a/app/Schema/Postgres.php
+++ b/app/Schema/Postgres.php
@@ -6,7 +6,12 @@ use PDO;
use Core\Security;
use Model\Link;
-const VERSION = 43;
+const VERSION = 44;
+
+function version_44($pdo)
+{
+ $pdo->exec('ALTER TABLE project_has_categories ADD COLUMN description TEXT');
+}
function version_43($pdo)
{