Sha256: 376730b2128c6e8823ee8af40669da4984bcacc61daf943fb3d445b611f7ea02
Contents?: true
Size: 1011 Bytes
Versions: 1
Compression:
Stored size: 1011 Bytes
Contents
require 'skr/core/db/migration_helpers' class CreateSkrPorLine < ActiveRecord::Migration def change create_skr_table "por_lines" do |t| t.skr_reference :po_receipt, null: false, to_table: 'po_receipts' t.skr_reference :po_line, null: true, single: true t.skr_reference :sku_loc, null: false, single: true t.skr_reference :sku_vendor, null: true, single: true t.string "sku_code", null: false t.string "part_code", null: false t.string "description", null: false t.string "uom_code", null: false t.integer "uom_size", null: false, limit: 2 t.integer "position", null: false, limit: 2 t.integer "qty", null: false, default: 0 t.skr_currency "price", null: false t.skr_track_modifications create_only: true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stockor-core-0.2 | db/migrate/20140401164740_create_skr_por_line.rb |