Sha256: b381a78bcbe81a9fea3011f14933fdc602b1c77aeb1cae0b503272cd1ca10a13

Contents?: true

Size: 730 Bytes

Versions: 8

Compression:

Stored size: 730 Bytes

Contents

require 'skr/db/migration_helpers'

class CreateSkrSkuLocs < ActiveRecord::Migration

    def change

        create_skr_table "sku_locs" do |t|
            t.skr_reference :sku,       null: false, single: true
            t.skr_reference :location,  null: false, single: true
            t.decimal  "mac",            precision: 15, scale: 4, default: 0.0, null: false
            t.integer  "qty",            default: 0,   null: false
            t.integer  "qty_allocated",  default: 0,   null: false
            t.integer  "qty_picking",    default: 0,   null: false
            t.integer  "qty_reserved",   default: 0,   null: false
            t.string   "bin"
            t.skr_track_modifications
        end


    end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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