Sha256: 60def20f7ada4990919dd83c750a27075d73cada57bcf214d36f22d6291926e2

Contents?: true

Size: 273 Bytes

Versions: 9

Compression:

Stored size: 273 Bytes

Contents

# This migration comes from spree (originally 20130227143905)
class AddPendingToInventoryUnit < ActiveRecord::Migration[4.2]
  def change
    add_column :spree_inventory_units, :pending, :boolean, default: true
    Spree::InventoryUnit.update_all(pending: false)
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195739_add_pending_to_inventory_unit.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091680_add_pending_to_inventory_unit.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091680_add_pending_to_inventory_unit.spree.rb
spree_purchase_order-3.6.0 spec/dummy/db/migrate/20180516181868_add_pending_to_inventory_unit.spree.rb
spree_purchase_order-3.5.0 spec/dummy/db/migrate/20180516181868_add_pending_to_inventory_unit.spree.rb
spree_purchase_order-3.5.0.rc1 spec/dummy/db/migrate/20180516181868_add_pending_to_inventory_unit.spree.rb
spree_purchase_order-3.4.0 spec/dummy/db/migrate/20180516181868_add_pending_to_inventory_unit.spree.rb
spree_purchase_order-3.3.0 spec/dummy/db/migrate/20180516181868_add_pending_to_inventory_unit.spree.rb
spree_purchase_order-3.2.0 spec/dummy/db/migrate/20180516181868_add_pending_to_inventory_unit.spree.rb