metasploit-framework/data/sql/migrate/20110630000001_add_nexpose_...

22 lines
424 B
Ruby
Raw Normal View History

class AddNexposeConsolesTable < ActiveRecord::Migration
def self.up
create_table :nexpose_consoles do |t|
t.timestamps
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