Sha256: 17faff4bf2f2ce6ddae9f67f218b0ccf9236fccd1df5574ed783f8d99bcc225f

Contents?: true

Size: 462 Bytes

Versions: 171

Compression:

Stored size: 462 Bytes

Contents

# Changes all the {COLUMNS} in the hosts table that are required for {Mdm::Host}, but were previously `:null => true`.
class ChangeRequiredColumnsToNullFalseInHosts < MetasploitDataModels::ChangeRequiredColumnsToNullFalse
  # Columns that were previously `:null => true`, but are actually required to be non-null, so should be
  # `:null => false`
  COLUMNS = [
      :address,
      :workspace_id
  ]
  # Table in which {COLUMNS} are.
  TABLE_NAME = :hosts
end

Version data entries

171 entries across 171 versions & 2 rubygems

Version Path
wg-metasploit_data_models-4.1.4.02 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-6.0.5 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-6.0.4 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-6.0.3 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-6.0.2 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-6.0.1 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-6.0.0 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-5.0.6 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-5.0.5 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-5.0.4 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-5.0.3 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-5.0.2 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-5.0.1 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-5.0.0 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-4.1.4 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-4.1.3 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-4.1.2 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-4.1.1 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-4.1.0 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb
metasploit_data_models-4.0.2 db/migrate/20130430151353_change_required_columns_to_null_false_in_hosts.rb