Sha256: 8db3431b0e8b924726fa95cc2f0de4f1348b91244e5ba9380f670eba39ae0b31

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

class AddInvEntryToInventoryTxns < ActiveRecord::Migration
  def change

    #Where are we picking inventory up from
    add_column :inventory_pickup_txns, :inventory_entry_id, :integer

    #Where are we placing the inventory. Can be final destination or interim destination
    #For inventory movements
    add_column :inventory_dropoff_txns, :inventory_entry_id, :integer

    add_index :inventory_pickup_txns, :inventory_entry_id
    add_index :inventory_dropoff_txns, :inventory_entry_id

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_inventory-4.0.0 db/migrate/20131206035027_add_inv_entry_to_inventory_txns.rb