summaryrefslogtreecommitdiff
path: root/app/Schema/Sqlite.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/Sqlite.php
parent9283fb88d80cb355ff98364a9a57b657fc511d98 (diff)
Move slack, hipchat and jabber integrations to plugins
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r--app/Schema/Sqlite.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php
index 1a60443f..e8dcf50e 100644
--- a/app/Schema/Sqlite.php
+++ b/app/Schema/Sqlite.php
@@ -39,6 +39,23 @@ function version_88($pdo)
UNIQUE(task_id, name)
)
");
+
+ $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_87($pdo)