Sha256: aa1622f28312446ca13ad32e69d75ac9f7179eea3e29bcc2db765d3fe9c1817e

Contents?: true

Size: 358 Bytes

Versions: 3

Compression:

Stored size: 358 Bytes

Contents

# This migration comes from spree (originally 20130305143310)
class CreateStockMovements < ActiveRecord::Migration
  def change
    create_table :spree_stock_movements do |t|
      t.belongs_to :stock_item
      t.integer :quantity
      t.string :action

      t.timestamps null: false
    end
    add_index :spree_stock_movements, :stock_item_id
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
spree_weight_calculator-0.1.0 test/dummy/db/migrate/20160723192469_create_stock_movements.spree.rb
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103390_create_stock_movements.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112342_create_stock_movements.spree.rb