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-2.0.2 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-2.0.1 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-3.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-2.0.0 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-2.0.0.rc2 db/migrate/20141126165451_add_discovery_id_to_subnet.rb
foreman_discovery-2.0.0.rc1 db/migrate/20141126165451_add_discovery_id_to_subnet.rb