metasploit-framework/data/sql/migrate/20120625000002_expand_detai...

17 lines
438 B
Ruby
Raw Normal View History

2012-06-07 09:42:16 +00:00
class ExpandDetails < ActiveRecord::Migration
def self.up
add_column :vuln_details, :nx_vuln_status, :text
add_column :vuln_details, :nx_proof_key, :text
add_column :vuln_details, :src, :string
add_column :host_details, :src, :string
end
def self.down
remove_column :vuln_details, :nx_vuln_status
remove_column :vuln_details, :nx_proof_key
remove_column :vuln_details, :src
remove_column :host_details, :src
end
end