mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
04276d333a
git-svn-id: file:///home/svn/framework3/trunk@10591 4d416f70-5f16-0410-b530-b9f4589650da
16 lines
415 B
Ruby
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
|
|
|