Sha256: 8b0cf93ff5eabb7d4c887cb335947348690f0ee2bf6c7d55603971de7a49d5d9

Contents?: true

Size: 237 Bytes

Versions: 10

Compression:

Stored size: 237 Bytes

Contents

class UpdateEnvironmentsAddKatelloId < ActiveRecord::Migration
  def up
    add_column :environments, :katello_id, :string
    add_index :environments, :katello_id
  end

  def down
    remove_column :environments, :katello_id
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
katello-2.4.5 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-2.4.4 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-2.4.3 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-2.4.2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-2.4.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-2.4.0 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-2.4.0.rc3 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-2.4.0.rc2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-2.4.0.rc1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-2.2.2 db/migrate/20140110000001_update_environments_add_katello_id.rb