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

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

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

  def up
    remove_column :security_scans, :scanned_resources_count
  end

  def down
    add_column :security_scans, :scanned_resources_count, :integer
  end
end