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

20170526185602_add_stage_id_to_ci_builds.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d27cba76d8199e81ed03e52668dceb91912816b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class AddStageIdToCiBuilds < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def up
    add_column :ci_builds, :stage_id, :integer
  end

  def down
    remove_column :ci_builds, :stage_id, :integer
  end
end