summaryrefslogtreecommitdiff
path: root/db/migrate/20191026120008_add_promoted_to_epic_to_issues.rb
blob: 158dbf69bcc8a792319d9ec1509e93feaa75f5af (plain)
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