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-3.0.10 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-3.0.9 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-3.0.8 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-3.0.7 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-3.0.6 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-3.0.5 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.17 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-3.0.4 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-3.0.2 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-3.0.1 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-3.0.0 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.16 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.15 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.14 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.13 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.12 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.11 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.10 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.9 db/migrate/20110630000001_add_nexpose_consoles_table.rb
metasploit_data_models-2.0.8 db/migrate/20110630000001_add_nexpose_consoles_table.rb