debian-mirror-gitlab/db/migrate/20191026120008_add_promoted_to_epic_to_issues.rb
2020-01-01 13:55:28 +05:30

17 lines
387 B
Ruby

# 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