Sha256: aa042cfac3248a91d6c58991ba6b49dac9ad2eefc9ba10d65d84f6ae63975770

Contents?: true

Size: 253 Bytes

Versions: 191

Compression:

Stored size: 253 Bytes

Contents

class SubscriptionCpIdChange < ActiveRecord::Migration[5.1]
  def up
    remove_column :katello_subscriptions, :cp_id
    rename_column :katello_subscriptions, :product_id, :cp_id
  end

  def down
    fail ActiveRecord::IrreversibleMigration
  end
end

Version data entries

191 entries across 191 versions & 1 rubygems

Version Path
katello-4.7.3 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.7.2 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.7.1 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.6.2.1 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.6.2 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.7.0 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.6.1 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.7.0.rc2 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.7.0.rc1 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.4.2.2 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.4.2.1 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.4.2 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.5.1 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.6.0 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.6.0.rc2 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.6.0.rc1 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.5.0 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.5.0.rc2 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.4.1 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-4.5.0.rc1 db/migrate/20180326145716_subscription_cp_id_change.rb