1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00
metasploit-framework/data/sql/migrate/20101007000000_add_vuln_info.rb
HD Moore 04276d333a Add category, confidence, description, and blame to the web_vulns table.
git-svn-id: file:///home/svn/framework3/trunk@10591 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-08 01:51:28 +00:00

16 lines
415 B
Ruby

class AddVulnInfo < ActiveRecord::Migration
def self.up
add_column :web_vulns, :category, :text
add_column :web_vulns, :confidence, :text
add_column :web_vulns, :description, :text
add_column :web_vulns, :blame, :text
end
def self.down
remove_column :web_forms, :category
remove_column :web_vulns, :confidence
remove_column :web_vulns, :description
remove_column :web_vulns, :blame
end
end