Sha256: 55c092200fef6b4109045ae72f46601704e9862b73544a70560306d0553916b4

Contents?: true

Size: 310 Bytes

Versions: 9

Compression:

Stored size: 310 Bytes

Contents

# This migration comes from spree (originally 20140717185932)
class AddDefaultToSpreeStockLocations < ActiveRecord::Migration[4.2]
  def change
    unless column_exists? :spree_stock_locations, :default
      add_column :spree_stock_locations, :default, :boolean, null: false, default: false
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195871_add_default_to_spree_stock_locations.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091812_add_default_to_spree_stock_locations.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091812_add_default_to_spree_stock_locations.spree.rb
spree_purchase_order-3.6.0 spec/dummy/db/migrate/20180516182000_add_default_to_spree_stock_locations.spree.rb
spree_purchase_order-3.5.0 spec/dummy/db/migrate/20180516182000_add_default_to_spree_stock_locations.spree.rb
spree_purchase_order-3.5.0.rc1 spec/dummy/db/migrate/20180516182000_add_default_to_spree_stock_locations.spree.rb
spree_purchase_order-3.4.0 spec/dummy/db/migrate/20180516182000_add_default_to_spree_stock_locations.spree.rb
spree_purchase_order-3.3.0 spec/dummy/db/migrate/20180516182000_add_default_to_spree_stock_locations.spree.rb
spree_purchase_order-3.2.0 spec/dummy/db/migrate/20180516182000_add_default_to_spree_stock_locations.spree.rb