BigW Consortium Gitlab

20150411180045_rename_buildbox_service.rb 297 Bytes
Newer Older
1
# rubocop:disable all
2 3 4 5 6 7 8 9 10
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