summaryrefslogtreecommitdiff
path: root/db/migrate/20190107151029_remove_hipchat_services.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190107151029_remove_hipchat_services.rb')
-rw-r--r--db/migrate/20190107151029_remove_hipchat_services.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20190107151029_remove_hipchat_services.rb b/db/migrate/20190107151029_remove_hipchat_services.rb
new file mode 100644
index 00000000000..4741ec88907
--- /dev/null
+++ b/db/migrate/20190107151029_remove_hipchat_services.rb
@@ -0,0 +1,16 @@
+# frozen_string_literal: true
+
+# See http://doc.gitlab.com/ce/development/migration_style_guide.html
+# for more information on how to write migrations for GitLab.
+
+class RemoveHipchatServices < ActiveRecord::Migration[5.0]
+ DOWNTIME = false
+
+ def up
+ execute "DELETE FROM services WHERE type = 'HipchatService'"
+ end
+
+ def down
+ # no-op
+ end
+end