summaryrefslogtreecommitdiff
path: root/db/post_migrate/20201026051643_remove_scanned_resources_count_from_security_scans.rb
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