Sha256: b9ef53ff1c563dff0cd501c716b3aeba1fca6a8690e20acf3701d1fc3de9496c

Contents?: true

Size: 501 Bytes

Versions: 3

Compression:

Stored size: 501 Bytes

Contents

# This migration comes from spree (originally 20130418125341)
class CreateSpreeStockTransfers < ActiveRecord::Migration[4.2]
  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: false, precision: 6
    end

    add_index :spree_stock_transfers, :source_location_id
    add_index :spree_stock_transfers, :destination_location_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/20191113195769_create_spree_stock_transfers.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091710_create_spree_stock_transfers.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091710_create_spree_stock_transfers.spree.rb