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

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

class AddMrMetricsFirstApprovedAt < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def up
    add_column :merge_request_metrics, :first_approved_at, :datetime_with_timezone
  end

  def down
    remove_column :merge_request_metrics, :first_approved_at
  end
end