Table stoq_schema.public.till_entry Generated by
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()
te_id int8 19  √  new_te() till_entry_te_id_fkey R
identifier serial 10  √  nextval('till_entry_identifier_seq'::regclass)
date timestamp 29,6  √  null
description text 2147483647  √  null
value numeric 20,2  √  null
till_id uuid 2147483647 till_entry_till_id_fkey R
branch_id uuid 2147483647 till_entry_branch_id_fkey R
payment_id uuid 2147483647  √  null till_entry_payment_id_fkey R

Analyzed at Mon Nov 09 14:32 BRST 2015

Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc till_entry_pkey  
identifier + branch_id Must be unique Asc/Asc till_entry_identifier_branch_id_key  
te_id Must be unique Asc till_entry_te_id_key This unique column is also nullable

Close relationships  within of separation: