Sha256: abb98a7c0cd2da587d881514b94f98814fbf843baf0d6644e879b89f86887eb5
Contents?: true
Size: 1.02 KB
Versions: 4
Compression:
Stored size: 1.02 KB
Contents
require 'skr/db/migration_helpers' class CreateSkrSoLines < ActiveRecord::Migration def change create_skr_table "so_lines" do |t| t.skr_reference :sales_order, null: false, single: true t.skr_reference :sku_loc, null: false, 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.integer "uom_size", null: false, limit: 2 t.integer "position", null: false, limit: 2 t.decimal "qty", null: false, precision: 15, scale: 2 t.decimal "qty_allocated", "qty_picking", "qty_picking", "qty_invoiced", "qty_canceled", null: false, default: 0, precision: 15, scale: 2 t.boolean "is_revised", null: false, default: false t.jsonb "options" t.skr_track_modifications end end end
Version data entries
4 entries across 4 versions & 1 rubygems