Class: AddVulnInfo
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddVulnInfo
- Defined in:
- db/migrate/20101007000000_add_vuln_info.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
8 9 10 11 12 13 |
# File 'db/migrate/20101007000000_add_vuln_info.rb', line 8 def self.down remove_column :web_forms, :category remove_column :web_vulns, :confidence remove_column :web_vulns, :description remove_column :web_vulns, :blame end |
.up ⇒ Object
2 3 4 5 6 7 |
# File 'db/migrate/20101007000000_add_vuln_info.rb', line 2 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 |