Sha256: dd308150f2a2de314996fc35c0acb4778cadb69b2ae7c13ad52774a3d5297aa0

Contents?: true

Size: 252 Bytes

Versions: 44

Compression:

Stored size: 252 Bytes

Contents

class UpdateEnvironmentsAddKatelloId < ActiveRecord::Migration
  def up
    add_column :environments, :katello_id, :string, :limit => 255
    add_index :environments, :katello_id
  end

  def down
    remove_column :environments, :katello_id
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
katello-3.5.2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.5.1.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.5.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.5.0.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.5.0 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.5.0.rc2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.5.0.rc1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.4.5 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.4.4 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.4.2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.4.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.4.0.2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.4.0.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.3.2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.4.0 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.4.0.rc2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.4.0.rc1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.3.1.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.3.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.3.0.1 db/migrate/20140110000001_update_environments_add_katello_id.rb