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

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

class AddErrorTrackingCounterCache < ActiveRecord::Migration[6.1]
  def up
    add_column :error_tracking_errors, :events_count, :bigint, null: false, default: 0
  end

  def down
    remove_column :error_tracking_errors, :events_count
  end
end