summaryrefslogtreecommitdiff
path: root/db/migrate/20170526185602_add_stage_id_to_ci_builds.rb
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