Sha256: 86b633d5bb2af62923994b72313e1d32c6f958c0a58b301cb07f348052e2e701

Contents?: true

Size: 220 Bytes

Versions: 21

Compression:

Stored size: 220 Bytes

Contents

class AddSaleToSpreePromotions < ActiveRecord::Migration[4.2]
  def change
    add_column :spree_promotions, :apply_automatically, :boolean, default: false
    add_index :spree_promotions, :apply_automatically
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
solidus_core-2.3.1 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.2.2 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.1.1 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.0.3 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.3.0 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.3.0.rc3 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.3.0.rc2 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.3.0.rc1 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.3.0.beta1 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.0.2 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.2.1 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.2.0 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.2.0.rc1 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.2.0.beta1 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.1.0 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.1.0.rc1 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.0.1 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.1.0.beta1 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.0.0 db/migrate/20151021113730_add_sale_to_spree_promotions.rb
solidus_core-2.0.0.rc1 db/migrate/20151021113730_add_sale_to_spree_promotions.rb