summaryrefslogtreecommitdiff
path: root/app/Schema/Sqlite.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-07-21 20:32:12 -0230
committerFrédéric Guillot <fred@kanboard.net>2014-07-21 20:32:12 -0230
commit9e1dcf21dc5d65bcc4195f1ae4caedbe57835415 (patch)
tree7fa9a2a08e24de7d16c0196b61e7c1bf8540f486 /app/Schema/Sqlite.php
parent4ae655ced334bb48342274caaf15f2b3d8b444f6 (diff)
Improve webhooks to call external url on task creation/modification
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 5ab42a6e..4660251f 100644
--- a/app/Schema/Sqlite.php
+++ b/app/Schema/Sqlite.php
@@ -4,7 +4,13 @@ namespace Schema;
use Core\Security;
-const VERSION = 21;
+const VERSION = 22;
+
+function version_22($pdo)
+{
+ $pdo->exec("ALTER TABLE config ADD COLUMN webhooks_url_task_modification TEXT");
+ $pdo->exec("ALTER TABLE config ADD COLUMN webhooks_url_task_creation TEXT");
+}
function version_21($pdo)
{