summaryrefslogtreecommitdiff
path: root/db/migrate/20150411180045_rename_buildbox_service.rb
blob: ac4ccdfb723c09c034b42f81c1ccef6952784699 (plain)
1
2
3
4
5
6
7
8
9
class RenameBuildboxService < ActiveRecord::Migration[4.2]
  def up
    execute "UPDATE services SET type = 'BuildkiteService' WHERE type = 'BuildboxService';"
  end

  def down
    execute "UPDATE services SET type = 'BuildboxService' WHERE type = 'BuildkiteService';"
  end
end