Sha256: 08b3cc901b7f27f55b1b3a4b864d93fa9a08e9a0cbd3c70686ffa29019ae834a

Contents?: true

Size: 168 Bytes

Versions: 141

Compression:

Stored size: 168 Bytes

Contents

class AddDefaultQuantityToStockMovement < ActiveRecord::Migration[4.2]
  def change
    change_column :spree_stock_movements, :quantity, :integer, default: 0
  end
end

Version data entries

141 entries across 141 versions & 2 rubygems

Version Path
spree_core-4.2.2 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.2.1 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.0.7 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-3.7.14 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.2.0 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.2.0.rc5 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.2.0.rc4 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.2.0.rc3 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.1.13 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.0.6 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.2.0.rc2 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-3.7.13 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.0.5 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.1.12 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-3.7.12 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.2.0.rc1 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.0.4 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-3.7.11 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.1.11 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb
spree_core-4.1.10 db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb