Sha256: 379caa76e45354a0ea72b2ab955e376972974143f4fc27044406c4154ab34e73

Contents?: true

Size: 377 Bytes

Versions: 3

Compression:

Stored size: 377 Bytes

Contents

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

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195747_create_stock_movements.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091688_create_stock_movements.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091688_create_stock_movements.spree.rb