20191026120008_add_promoted_to_epic_to_issues.rb 387 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# frozen_string_literal: true

# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.

class AddPromotedToEpicToIssues < ActiveRecord::Migration[5.2]
  DOWNTIME = false

  def up
    add_column :issues, :promoted_to_epic_id, :integer
  end

  def down
    remove_column :issues, :promoted_to_epic_id
  end
end