Sha256: a3898be92c35a7b7524cc4d3b5148be103dd2047d30f7c9efea3afaac456b772

Contents?: true

Size: 257 Bytes

Versions: 40

Compression:

Stored size: 257 Bytes

Contents

class AddProductIdToSccProduct < ActiveRecord::Migration[4.2]
  def change
    add_column :scc_products, :product_id, :integer, index: true, null: true
    add_foreign_key :scc_products, :katello_products, column: :product_id, on_delete: :nullify
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
foreman_scc_manager-4.0.0 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-3.1.1 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-3.1.0 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-3.0.0 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-2.3.0 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-2.2.3 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-2.2.2 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-2.2.1 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-2.2.0 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-2.1.0 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-2.0.0 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-1.8.20 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-1.8.19 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-1.8.18 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-1.8.17 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-1.8.16 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-1.8.15 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-1.8.13 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-1.8.12 db/migrate/20170303131704_add_product_id_to_scc_product.rb
foreman_scc_manager-1.8.10 db/migrate/20170303131704_add_product_id_to_scc_product.rb