mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-17 00:07:24 +00:00
Update existing Spree::InventoryItem records: change backordered state to on_hand.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class SetBackorderedInventoryToOnHand < ActiveRecord::Migration
|
||||
def up
|
||||
execute("UPDATE spree_inventory_units SET state = 'on_hand' WHERE state = 'backordered'")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user