Sha256: e5e67ddbd603732061fa9ede50f2150095060a0f4ba0494a5d58cd9f1019d58d
Contents?: true
Size: 332 Bytes
Versions: 21
Compression:
Stored size: 332 Bytes
Contents
class AddForeignKeysForProductPromotionRules < ActiveRecord::Migration[4.2] def change add_foreign_key :spree_product_promotion_rules, :spree_products, column: :product_id add_foreign_key :spree_product_promotion_rules, :spree_promotion_rules, column: :promotion_rule_id end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
solidus_core-2.0.0.beta1 | db/migrate/20151015203732_add_foreign_keys_for_product_promotion_rules.rb |