Sha256: b51c03436969dcb5981a5f2c69de4fd876d256aefc7d5d1e3953b2b5eaadde19
Contents?: true
Size: 461 Bytes
Versions: 141
Compression:
Stored size: 461 Bytes
Contents
class RemoveStockItemAndVariantLock < ActiveRecord::Migration[4.2] def up # we are moving to pessimistic locking on stock_items remove_column :spree_stock_items, :lock_version # variants no longer manage their count_on_hand so we are removing their lock remove_column :spree_variants, :lock_version end def down add_column :spree_stock_items, :lock_version, :integer add_column :spree_variants, :lock_version, :integer end end
Version data entries
141 entries across 141 versions & 2 rubygems