Sha256: 15f5ea5f0d18ad340c579e9a0274d346e2efd0bf334b514feecb124a03b51556

Contents?: true

Size: 1006 Bytes

Versions: 8

Compression:

Stored size: 1006 Bytes

Contents

require 'skr/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

8 entries across 8 versions & 1 rubygems

Version Path
stockor-0.5.0 db/migrate/20140401164740_create_skr_por_line.rb
stockor-0.4.0 db/migrate/20140401164740_create_skr_por_line.rb
stockor-0.3.0 db/migrate/20140401164740_create_skr_por_line.rb
stockor-0.2 db/migrate/20140401164740_create_skr_por_line.rb
stockor-0.1.9 db/migrate/20140401164740_create_skr_por_line.rb
stockor-0.1.8 db/migrate/20140401164740_create_skr_por_line.rb
stockor-0.1.7 db/migrate/20140401164740_create_skr_por_line.rb
stockor-0.1.5 db/migrate/20140401164740_create_skr_por_line.rb