Sha256: a0d18a80ae1f2eedbb8e9a3d6fbbc94aba2983eab3217cc75e523136fffdba1b

Contents?: true

Size: 372 Bytes

Versions: 154

Compression:

Stored size: 372 Bytes

Contents

# Probably temporary, a spot to stash module names and their associated refs
# Don't count on it being populated at any given moment.
class AddModRefTable < ActiveRecord::Migration

	def self.up
		create_table :mod_refs do |t|
			t.string :module, :limit => 1024
			t.string :mtype, :limit => 128
			t.text :ref
		end
	end

	def self.down
		drop_table :mod_refs
	end

end

Version data entries

154 entries across 154 versions & 1 rubygems

Version Path
metasploit_data_models-2.0.7 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-2.0.6 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-2.0.5 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-2.0.4 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-2.0.1 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-2.0.0 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-1.3.0 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-1.2.11 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-1.2.10 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-1.2.9 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-1.2.8 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-1.2.7 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-1.2.6 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-1.2.5 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-1.2.4 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-1.2.3 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-1.2.2 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-0.24.5 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-0.24.4 db/migrate/20110928101300_add_mod_ref_table.rb
metasploit_data_models-1.2.1 db/migrate/20110928101300_add_mod_ref_table.rb