Sha256: a4a3a86a5d0dad6817d3d28ccc968dca21af2ac8a4953a90250e100f27718764
Contents?: true
Size: 809 Bytes
Versions: 1
Compression:
Stored size: 809 Bytes
Contents
require 'skr/core/db/migration_helpers' class CreateSkrSkuVendors < ActiveRecord::Migration def change create_skr_table "sku_vendors" do |t| t.skr_reference :sku, null: false, single: true t.skr_reference :vendor, null: false, single: true t.skr_currency "list_price", null: false, precision: 15, scale: 2 t.string "part_code", null: false t.boolean "is_active", null: false, default: true t.integer "uom_size", null: false, default: 1 t.string "uom_code", null: false, default: 'EA' t.decimal "cost", null: false, precision: 15, scale: 2 t.skr_track_modifications end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stockor-core-0.2 | db/migrate/20140321031604_create_skr_sku_vendors.rb |