Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20220610074326_add_epic_issue_weight.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b1c1f1c56c7f1b3aabca334280316fe15197411a (plain)
1
2
3
4
5
6
7
8
9
10
# 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