Sha256: 06c48295696e92b6d0c16fb2115496c8093dd8b15bd0e4a7aacdb42c1e9e8a46

Contents?: true

Size: 197 Bytes

Versions: 58

Compression:

Stored size: 197 Bytes

Contents

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

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

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
foreman_discovery-25.1.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-25.0.1 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-25.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-24.0.2 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-23.0.2 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-24.0.1 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-24.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-23.0.1 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-23.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-22.0.4 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-21.0.5 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-22.0.2 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-21.0.4 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-21.0.3 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-21.0.2 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-19.0.5 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-19.0.4 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-21.0.1 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-19.0.3 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-21.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb