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

20150803142346_rename_job_type_to_stage_builds.rb « migrate « ci « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 816df0ddf7577d2d964401e0e3d11d5d4d346085 (plain)
1
2
3
4
5
6
7
8
9
class RenameJobTypeToStageBuilds < ActiveRecord::Migration
  def up
    rename_column :builds, :job_type, :stage
  end

  def down
    rename_column :builds, :stage, :job_type
  end
end