summaryrefslogtreecommitdiff
path: root/db/migrate/20170526185602_add_stage_id_to_ci_builds.rb
blob: 6958557d11844fa6c57eec27b6d3d01589971871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class AddStageIdToCiBuilds < ActiveRecord::Migration[4.2]
  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