summaryrefslogtreecommitdiff
path: root/db/migrate/20190107151029_remove_hipchat_services.rb
blob: 4741ec88907a5a3eab10d45c31d74070d4c9e5f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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