Sha256: b725e54f300186f7a64b84440b73ac1c3e17ccd3950ec2486c84ebb033f8a858
Contents?: true
Size: 326 Bytes
Versions: 14
Compression:
Stored size: 326 Bytes
Contents
# This migration comes from spree (originally 20130325163316) class MigrateInventoryUnitSoldToOnHand < ActiveRecord::Migration def up Spree::InventoryUnit.where(:state => 'sold').update_all(:state => 'on_hand') end def down Spree::InventoryUnit.where(:state => 'on_hand').update_all(:state => 'sold') end end
Version data entries
14 entries across 14 versions & 7 rubygems