Sha256: bd9bc219b68bff8f14c62672e161efe3d7e2482d20de9a0d73fa17cf65b41e2b

Contents?: true

Size: 211 Bytes

Versions: 141

Compression:

Stored size: 211 Bytes

Contents

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

141 entries across 141 versions & 2 rubygems

Version Path
spree_core-4.0.9 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.1.15 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.2.7 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.3.3 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.2.6 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.3.2 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.3.1 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.3.0 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.3.0.rc3 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.3.0.rc2 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.3.0.rc1 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.2.5 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.1.14 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.0.8 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.2.4 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-3.7.14.1 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.2.3.1 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.1.13.1 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.0.7.1 db/migrate/20130227143905_add_pending_to_inventory_unit.rb
spree_core-4.2.3 db/migrate/20130227143905_add_pending_to_inventory_unit.rb