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
wg-metasploit_data_models-4.1.4.02 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-6.0.5 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-6.0.4 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-6.0.3 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-6.0.2 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-6.0.1 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-6.0.0 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-5.0.6 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-5.0.5 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-5.0.4 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-5.0.3 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-5.0.2 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-5.0.1 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-5.0.0 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-4.1.4 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-4.1.3 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-4.1.2 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-4.1.1 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-4.1.0 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb
metasploit_data_models-4.0.2 db/migrate/20150514182921_add_origin_to_mdm_vuln.rb