Sha256: ec557a1e728f19267f55a41276c3f04060d29b2d1784df9601bf58fcf31f51ba

Contents?: true

Size: 933 Bytes

Versions: 4

Compression:

Stored size: 933 Bytes

Contents

require 'skr/db/migration_helpers'

class CreateSkrPtLines < ActiveRecord::Migration
    def change

        create_skr_table "pt_lines" do |t|
            t.skr_reference :pick_ticket, single: true
            t.skr_reference :so_line,     single: true
            t.skr_reference :sku_loc,     single: true
            t.skr_currency  "price",      null: false
            t.string   "sku_code",        null: false
            t.string   "description",     null: false
            t.string   "uom_code",        null: false
            t.string   "bin",             null: true
            t.integer  "uom_size",        null: false, limit: 2
            t.integer  "position",        null: false, limit: 2
            t.integer  "qty",             null: false, default: 0
            t.integer  "qty_invoiced",    null: false, default: 0
            t.boolean  "is_complete",     null: false, default: false
        end

    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stockor-0.1.9 db/migrate/20140327202209_create_skr_pt_lines.rb
stockor-0.1.8 db/migrate/20140327202209_create_skr_pt_lines.rb
stockor-0.1.7 db/migrate/20140327202209_create_skr_pt_lines.rb
stockor-0.1.5 db/migrate/20140327202209_create_skr_pt_lines.rb