From 3f7840c4db7384eb142f92c33330827b8d7255f9 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 5 Nov 2016 22:26:58 -0400 Subject: Add the possibility to create external tasks --- app/Schema/Postgres.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'app/Schema/Postgres.php') 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) { -- cgit v1.2.3