Sha256: e8eedb16f7a679ca62cc9e0608f9eca41d45e22279876ee7a02296716f5ae369

Contents?: true

Size: 192 Bytes

Versions: 26

Compression:

Stored size: 192 Bytes

Contents

class AddDiscoveryIdToSubnet < ActiveRecord::Migration
  def self.up
    add_column :subnets, :discovery_id, :integer
  end

  def self.down
    remove_column :subnets, :discovery_id
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
foreman_discovery-9.1.5 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-9.1.4 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-10.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-9.1.3 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-9.1.2 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-9.1.1 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-9.1.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-9.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-8.0.1 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-8.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-7.0.1 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-7.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-6.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-5.0.2 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-5.0.1 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-5.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-4.1.2 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-4.1.1 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-4.1.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-4.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb