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

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

class AddStatusToErrorTrackingError < ActiveRecord::Migration[6.1]
  def up
    add_column :error_tracking_errors, :status, :integer, null: false, default: 0, limit: 2
  end

  def down
    remove_column :error_tracking_errors, :status
  end
end