summaryrefslogtreecommitdiff
path: root/app/Schema/Sqlite.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/Sqlite.php
parentae5d31e4c285e0ce672de780fdacff953fe71bba (diff)
Add the possibility to create external tasks
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r--app/Schema/Sqlite.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php
index f86a6af0..edf6ce63 100644
--- a/app/Schema/Sqlite.php
+++ b/app/Schema/Sqlite.php
@@ -6,7 +6,13 @@ use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
use PDO;
-const VERSION = 106;
+const VERSION = 107;
+
+function version_107(PDO $pdo)
+{
+ $pdo->exec("ALTER TABLE tasks ADD COLUMN external_provider TEXT");
+ $pdo->exec("ALTER TABLE tasks ADD COLUMN external_uri TEXT");
+}
function version_106(PDO $pdo)
{