Sha256: 82ea08de30c866bfd226dab591dea2014107b982b32fddae97e09a095821aa93

Contents?: true

Size: 277 Bytes

Versions: 2

Compression:

Stored size: 277 Bytes

Contents

# This migration comes from spree (originally 20151021113730)
class AddSaleToSpreePromotions < ActiveRecord::Migration
  def change
    add_column :spree_promotions, :apply_automatically, :boolean, default: false
    add_index :spree_promotions, :apply_automatically
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103625_add_sale_to_spree_promotions.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112577_add_sale_to_spree_promotions.spree.rb