Class: ChangeRequiredColumnsToNullFalseInWebVulns
- Inherits:
-
MetasploitDataModels::ChangeRequiredColumnsToNullFalse
- Object
- ActiveRecord::Migration
- MetasploitDataModels::ChangeRequiredColumnsToNullFalse
- ChangeRequiredColumnsToNullFalseInWebVulns
- Defined in:
- db/migrate/20130228214900_change_required_columns_to_null_false_in_web_vulns.rb
Overview
Changes all the COLUMNS in the web_vulns table that are required for Mdm::WebVuln, but were previously :null => true
Constant Summary collapse
- COLUMNS =
Columns that were previously :null => true, but are actually required to be non-null, so should be :null => false
[ :category, :confidence, :method, :name, :params, :path, :pname, :proof, :risk ]
- TABLE_NAME =
Table in which COLUMNS are.
:web_vulns