debian-mirror-gitlab/db/migrate/20220610074326_add_epic_issue_weight.rb
2022-07-23 20:15:48 +02:00

10 lines
452 B
Ruby

# frozen_string_literal: true
class AddEpicIssueWeight < Gitlab::Database::Migration[2.0]
def change
add_column :epics, :total_opened_issue_weight, :integer, default: 0, null: false
add_column :epics, :total_closed_issue_weight, :integer, default: 0, null: false
add_column :epics, :total_opened_issue_count, :integer, default: 0, null: false
add_column :epics, :total_closed_issue_count, :integer, default: 0, null: false
end
end