Table stoq_schema.public.till 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()
till_entry.till_id till_entry_till_id_fkey R
te_id int8 19  √  new_te() till_te_id_fkey R
status till_status 2147483647
initial_cash_amount numeric 20,2  √  null
final_cash_amount numeric 20,2  √  null
opening_date timestamp 29,6  √  null
closing_date timestamp 29,6  √  null
station_id uuid 2147483647  √  null till_station_id_fkey R
observations text 2147483647  √  null
responsible_open_id uuid 2147483647  √  null till_responsible_open_id_fkey R
responsible_close_id uuid 2147483647  √  null till_responsible_close_id_fkey R

Analyzed at Mon Nov 09 14:32 BRST 2015

Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc till_pkey  
te_id Must be unique Asc till_te_id_key This unique column is also nullable

Close relationships  within of separation: