Sha256: 90e070126d949695ca6180a89e4c9602a5a901db502085256fa3e81a55372638

Contents?: true

Size: 306 Bytes

Versions: 10

Compression:

Stored size: 306 Bytes

Contents

class DefineExplicitLengthForDiscoveryRuleAttributes < ActiveRecord::Migration
  def change
    change_column :discovery_rules, :name, :string, :limit => 255
    change_column :discovery_rules, :search, :string, :limit => 255
    change_column :discovery_rules, :hostname, :string, :limit => 255
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
foreman_discovery-9.1.5 db/migrate/20160927164411_define_explicit_length_for_discovery_rule_attributes.rb
foreman_discovery-9.1.4 db/migrate/20160927164411_define_explicit_length_for_discovery_rule_attributes.rb
foreman_discovery-10.0.0 db/migrate/20160927164411_define_explicit_length_for_discovery_rule_attributes.rb
foreman_discovery-9.1.3 db/migrate/20160927164411_define_explicit_length_for_discovery_rule_attributes.rb
foreman_discovery-9.1.2 db/migrate/20160927164411_define_explicit_length_for_discovery_rule_attributes.rb
foreman_discovery-9.1.1 db/migrate/20160927164411_define_explicit_length_for_discovery_rule_attributes.rb
foreman_discovery-9.1.0 db/migrate/20160927164411_define_explicit_length_for_discovery_rule_attributes.rb
foreman_discovery-9.0.0 db/migrate/20160927164411_define_explicit_length_for_discovery_rule_attributes.rb
foreman_discovery-8.0.1 db/migrate/20160927164411_define_explicit_length_for_discovery_rule_attributes.rb
foreman_discovery-8.0.0 db/migrate/20160927164411_define_explicit_length_for_discovery_rule_attributes.rb