debian-mirror-gitlab/db/migrate/20220610074326_add_epic_issue_weight.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
452 B
Ruby
Raw Normal View History

2022-07-23 23:45:48 +05:30
# 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