Sha256: 79526e01a91d1de6fe7e0f2f5adb29e94e5ccc30e3e6cff10e428c24b8dba3da

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

class CreateInventoryPickupTxns < ActiveRecord::Migration
  def change
    create_table :inventory_pickup_txns do |t|

      t.references  :fixed_asset
      t.string      :description
      t.integer     :quantity
      t.integer     :unit_of_measurement_id
      t.text        :comment

      t.timestamps
    end

    add_index :inventory_pickup_txns, :fixed_asset_id

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_inventory-4.0.0 db/migrate/20130925222100_create_inventory_pickup_txns.rb