summaryrefslogtreecommitdiff
path: root/app/Schema/Postgres.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-01 14:19:49 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-01 14:19:49 -0500
commit40ca850707b2f7f51d2d9028bcfd218cd966b32f (patch)
tree208af425a604261fce0d6173a57b656ab2c34f3d /app/Schema/Postgres.php
parentb42830e77d85b684fa8c93dd78d19d80c3b3b7fe (diff)
Add column description (merge/change pull-request #549)
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 12aa5203..eb094f17 100644
--- a/app/Schema/Postgres.php
+++ b/app/Schema/Postgres.php
@@ -5,7 +5,12 @@ namespace Schema;
use PDO;
use Core\Security;
-const VERSION = 22;
+const VERSION = 23;
+
+function version_23($pdo)
+{
+ $pdo->exec('ALTER TABLE columns ADD COLUMN description TEXT');
+}
function version_22($pdo)
{