Sha256: 0dde500e68d52533c85e03f9b9d026cb7af9eb12a5561f511e1fd8da539ad394

Contents?: true

Size: 436 Bytes

Versions: 44

Compression:

Stored size: 436 Bytes

Contents

class AddNexposeConsolesTable < ActiveRecord::Migration
	def self.up
		create_table :nexpose_consoles do |t|
			t.timestamps null: false
			t.boolean :enabled, :default => true
			t.text :owner
			t.text :address
			t.integer :port, :default => 3780
			t.text :username
			t.text :password
			t.text :status
			t.text :version
			t.text :cert
			t.binary :cached_sites
		end
	end
	def self.down
		drop_table :nexpose_consoles
	end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
metasploit_data_models-2.0.7 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.6 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.5 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.4 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.1 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.0 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.3.0 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.2.11 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.2.10 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.2.9 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.2.8 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.2.7 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.2.6 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.2.5 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.2.4 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.2.3 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.2.2 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.2.1 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.2.0 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-1.1.0 db/migrate/20110630000001_add_nexpose_consoles_table.rb