Sha256: 20b12b7c6d770e25797c3963824bc9c59471c2a2dce76e8a0a32b2b7c9a03d8d

Contents?: true

Size: 175 Bytes

Versions: 5

Compression:

Stored size: 175 Bytes

Contents

class AddDnsIdToSubnet < ActiveRecord::Migration
  def self.up
    add_column :subnets, :dns_id, :integer
  end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/db/migrate/20120521142924_add_dns_id_to_subnet.rb
foreman_discovery-1.0.0.rc4 test/foreman_app/db/migrate/20120521142924_add_dns_id_to_subnet.rb
foreman_discovery-1.0.0.rc3 test/foreman_app/db/migrate/20120521142924_add_dns_id_to_subnet.rb
foreman_discovery-1.0.0.rc2 test/foreman_app/db/migrate/20120521142924_add_dns_id_to_subnet.rb
foreman_discovery-1.0.0.rc1 test/foreman_app/db/migrate/20120521142924_add_dns_id_to_subnet.rb