Table stoq_schema.public.card_payment_device 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()
card_operation_cost.device_id card_operation_cost_device_id_fkey R
credit_card_data.device_id credit_card_data_device_id_fkey R
credit_provider.default_device_id credit_provider_default_device_id_fkey R
te_id int8 19  √  new_te() card_payment_device_te_id_fkey R
monthly_cost numeric 20,2  √  null
description text 2147483647  √  null

Analyzed at Mon Nov 09 14:32 BRST 2015

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

Close relationships  within of separation: