Sha256: ee69ebb4c628dd2befa14e7f591c66d72ff7ccdee0b74bc1dd91edc0e766162a

Contents?: true

Size: 481 Bytes

Versions: 2

Compression:

Stored size: 481 Bytes

Contents

# This migration comes from spree (originally 20130418125341)
class CreateSpreeStockTransfers < ActiveRecord::Migration
  def change
    create_table :spree_stock_transfers do |t|
      t.string :type
      t.string :reference_number
      t.integer :source_location_id
      t.integer :destination_location_id
      t.timestamps null: true
    end

    add_index :spree_stock_transfers, :source_location_id
    add_index :spree_stock_transfers, :destination_location_id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103412_create_spree_stock_transfers.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112364_create_spree_stock_transfers.spree.rb