Sha256: 6de9c2a484777f6b1353c33c1ed6fb2664c666818dc86433d071a93f6a9cabc4

Contents?: true

Size: 294 Bytes

Versions: 22

Compression:

Stored size: 294 Bytes

Contents

class AddOriginToMdmVuln < ActiveRecord::Migration[4.2]
  def up
    add_column :vulns, :origin_id,   :integer
    add_column :vulns, :origin_type, :string

    add_index :vulns, :origin_id
  end

  def down
    remove_column :vulns, :origin_id
    remove_column :vulns, :origin_type
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
metasploit_data_models-4.0.1 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-4.0.0 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb