summaryrefslogtreecommitdiff
path: root/db/migrate/20150411180045_rename_buildbox_service.rb
blob: 5a0b5d07e50f91ee6c23ae445affafd56c7232ef (plain)
1
2
3
4
5
6
7
8
9
class RenameBuildboxService < ActiveRecord::Migration
  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