Sha256: 10b2fc73b5fa10c13bc48e8aa06cf93d135feab2a37abd08406139c9ccb72de9

Contents?: true

Size: 257 Bytes

Versions: 123

Compression:

Stored size: 257 Bytes

Contents

class UpdateEnvironmentsAddKatelloId < ActiveRecord::Migration[4.2]
  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

123 entries across 123 versions & 1 rubygems

Version Path
katello-4.2.2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.2.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.2.0.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.1.4 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.0.3 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.2.0.1.rc3 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.18.5 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.2.0.1.rc2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.2.0.rc2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.1.3 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.2.0.rc1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.0.2.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.1.2.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.0.2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.1.2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.18.4 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.1.1 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.1.0 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-4.0.1.2 db/migrate/20140110000001_update_environments_add_katello_id.rb
katello-3.18.3.1 db/migrate/20140110000001_update_environments_add_katello_id.rb