Sha256: 7f45b989b0f1b2313a1ef3c63752096544d47c6265acaee40d9e050f240967aa
Contents?: true
Size: 523 Bytes
Versions: 9
Compression:
Stored size: 523 Bytes
Contents
# This migration comes from spree (originally 20130329134939) 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
9 entries across 9 versions & 2 rubygems