summaryrefslogtreecommitdiff
path: root/app/Schema/Mysql.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-17 22:19:49 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-17 22:19:49 -0400
commit09da289c2fb18475f372bee24e885617da484e0b (patch)
tree95d1869ba3236ccdd9234d7909fc16c495c84d44 /app/Schema/Mysql.php
parent9283fb88d80cb355ff98364a9a57b657fc511d98 (diff)
Move slack, hipchat and jabber integrations to plugins
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r--app/Schema/Mysql.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php
index b85c185e..d3c0d3b6 100644
--- a/app/Schema/Mysql.php
+++ b/app/Schema/Mysql.php
@@ -39,6 +39,23 @@ function version_93($pdo)
UNIQUE(task_id, name)
) ENGINE=InnoDB CHARSET=utf8
");
+
+ $pdo->exec("DROP TABLE project_integrations");
+
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_jabber'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_jabber_server'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_jabber_domain'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_jabber_username'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_jabber_password'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_jabber_nickname'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_jabber_room'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_hipchat'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_hipchat_api_url'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_hipchat_room_id'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_hipchat_room_token'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_slack_webhook'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_slack_webhook_url'");
+ $pdo->exec("DELETE FROM settings WHERE `option`='integration_slack_webhook_channel'");
}
function version_92($pdo)