Sha256: 5386fbd94d9d5e8c14632e69e64868e8bed4c027edd0a6ed3bf66d0db854a82c
Contents?: true
Size: 1.05 KB
Versions: 4
Compression:
Stored size: 1.05 KB
Contents
require 'skr/db/migration_helpers' class CreateSkrInvLines < ActiveRecord::Migration def change create_skr_table "inv_lines" do |t| t.skr_reference :invoice, null: false, single: true t.skr_reference :sku_loc, null: false, single: true t.skr_reference :pt_line, null: true, single: true t.skr_reference :so_line, null: true, single: true t.skr_reference :time_entry, null: true, 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.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