Sha256: ae8553a58b60d4e2a3e8c77ad3aec80097bf3b72317d76e4b655ca218759a5e5

Contents?: true

Size: 280 Bytes

Versions: 39

Compression:

Stored size: 280 Bytes

Contents

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

39 entries across 39 versions & 1 rubygems

Version Path
solidus_core-1.4.2 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.3.2 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.2.3 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.1.4 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.0.7 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.4.1 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.4.0 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.4.0.rc1 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.4.0.beta1 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.3.1 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.3.0 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.3.0.rc2 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.3.0.rc1 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.3.0.beta1 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.0.6 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.2.2 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.2.1 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.1.3 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.0.5 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb
solidus_core-1.2.0 db/migrate/20150213160148_add_promotion_code_id_to_orders_promotions.rb