Class: ChangeRequiredColumnsToNullFalseInHosts

Inherits:
MetasploitDataModels::ChangeRequiredColumnsToNullFalse show all
Defined in:
db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb

Overview

Changes all the COLUMNS in the hosts table that are required for Mdm::Host, 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

[
    :address,
    :workspace_id
]
TABLE_NAME =

Table in which COLUMNS are.

:hosts

Method Summary

Methods inherited from MetasploitDataModels::ChangeRequiredColumnsToNullFalse

#down, #up