Sha256: 365722e65818b1ded8f5e822cfb347ce45bf6c6c4f7b5ea7416e57c3c8b76b39

Contents?: true

Size: 342 Bytes

Versions: 2

Compression:

Stored size: 342 Bytes

Contents

# This migration comes from spree (originally 20150213160148)
class AddPromotionCodeIdToOrdersPromotions < ActiveRecord::Migration
  def change
    add_column :spree_orders_promotions, :promotion_code_id, :integer
    add_index :spree_orders_promotions, :promotion_code_id
    add_column :spree_orders_promotions, :id, :primary_key
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103556_add_promotion_code_id_to_orders_promotions.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112508_add_promotion_code_id_to_orders_promotions.spree.rb