Table stoq_schema.public.sellable_category Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
id uuid 2147483647 uuid_generate_v1()
commission_source.category_id commission_source_category_id_fkey R
sellable.category_id sellable_category_id_fkey R
sellable_category.category_id sellable_category_category_id_fkey R
te_id int8 19  √  new_te()
transaction_entry.id sellable_category_te_id_fkey R
description text 2147483647  √  null
suggested_markup numeric 10,2  √  null
salesperson_commission numeric 10,2  √  null
category_id uuid 2147483647  √  null
sellable_category.id sellable_category_category_id_fkey R
tax_constant_id uuid 2147483647  √  null
sellable_tax_constant.id sellable_category_tax_constant_id_fkey R

Analyzed at Fri Jun 10 16:06 BRT 2016

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc sellable_category_pkey  
te_id Must be unique Asc sellable_category_te_id_key This unique column is also nullable

Close relationships  within of separation: