Sha256: cac95cdf038a1d93fddb06dd41d59929977f3fcbdbf22ee909c659e4ed05b2f3

Contents?: true

Size: 175 Bytes

Versions: 5

Compression:

Stored size: 175 Bytes

Contents

class AddImageIdToHost < ActiveRecord::Migration
  def self.up
    add_column :hosts, :image_id, :integer
  end

  def self.down
    remove_column :hosts, :image_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/20120523065531_add_image_id_to_host.rb
foreman_discovery-1.0.0.rc4 test/foreman_app/db/migrate/20120523065531_add_image_id_to_host.rb
foreman_discovery-1.0.0.rc3 test/foreman_app/db/migrate/20120523065531_add_image_id_to_host.rb
foreman_discovery-1.0.0.rc2 test/foreman_app/db/migrate/20120523065531_add_image_id_to_host.rb
foreman_discovery-1.0.0.rc1 test/foreman_app/db/migrate/20120523065531_add_image_id_to_host.rb