Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20150411180045_rename_buildbox_service.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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