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

20200314060834_add_scanned_resources_count_to_security_scan.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e8f7a693e99aa2b9de52865541b93d80ff3e7a4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true
class AddScannedResourcesCountToSecurityScan < ActiveRecord::Migration[6.0]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

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

  def down
    remove_column :security_scans, :scanned_resources_count
  end
end