summaryrefslogtreecommitdiff
path: root/app/Schema/Postgres.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-11-05 22:26:58 -0400
committerFrederic Guillot <fred@kanboard.net>2016-11-05 22:26:58 -0400
commit3f7840c4db7384eb142f92c33330827b8d7255f9 (patch)
tree8f0cb3b6e0039eb4914534dd64718ecff6dc4715 /app/Schema/Postgres.php
parentae5d31e4c285e0ce672de780fdacff953fe71bba (diff)
Add the possibility to create external tasks
Diffstat (limited to 'app/Schema/Postgres.php')
-rw-r--r--app/Schema/Postgres.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php
index 213d9869..83926f19 100644
--- a/app/Schema/Postgres.php
+++ b/app/Schema/Postgres.php
@@ -6,7 +6,13 @@ use PDO;
use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
-const VERSION = 94;
+const VERSION = 95;
+
+function version_95(PDO $pdo)
+{
+ $pdo->exec("ALTER TABLE tasks ADD COLUMN external_provider VARCHAR(255)");
+ $pdo->exec("ALTER TABLE tasks ADD COLUMN external_uri VARCHAR(255)");
+}
function version_94(PDO $pdo)
{