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-3.9.0.rc2 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-3.9.0.rc1 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-3.7.1.1 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-3.7.1 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-3.8.0 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-3.8.0.rc3 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-3.8.0.rc2 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-3.7.0 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-3.8.0.rc1 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-3.7.0.rc2 db/migrate/20180326145716_subscription_cp_id_change.rb
katello-3.7.0.rc1 db/migrate/20180326145716_subscription_cp_id_change.rb