Sha256: 9c9c794517e501992c7fee52d2e1f20e4b5c7058563fbb11ab1719ea5a8df098
Contents?: true
Size: 442 Bytes
Versions: 9
Compression:
Stored size: 442 Bytes
Contents
class AddOriginalPromotionIds < ActiveRecord::Migration[7.0] def change add_reference :friendly_promotions, :original_promotion, type: :integer, index: {name: :index_original_promotion_id}, foreign_key: {to_table: :spree_promotions} add_reference :friendly_promotion_actions, :original_promotion_action, type: :integer, index: {name: :index_original_promotion_action_id}, foreign_key: {to_table: :spree_promotion_actions} end end
Version data entries
9 entries across 9 versions & 1 rubygems