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

20230918123357_add_sprint_id_and_weight_to_vsa_issues.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0c3b7b3086a30a7c269a83bdfd4f9e176a9761bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class AddSprintIdAndWeightToVsaIssues < Gitlab::Database::Migration[2.1]
  enable_lock_retries!

  def up
    add_column :analytics_cycle_analytics_issue_stage_events, :weight, :integer
    add_column :analytics_cycle_analytics_issue_stage_events, :sprint_id, :bigint
  end

  def down
    remove_column :analytics_cycle_analytics_issue_stage_events, :sprint_id
    remove_column :analytics_cycle_analytics_issue_stage_events, :weight
  end
end