user_contacts

-1 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id bigserial 19 nextval('user_contacts_id_seq'::regclass)
email citext 2147483647 null
user_id int8 19 null
users.id user_contacts_user_id_fkey C
primary bool 1 false
verified bool 1 false
inserted_at timestamp 29,6 null
updated_at timestamp 29,6 null

Indexes

Constraint Name Type Sort Column(s)
user_contacts_pkey Primary key Asc id
email_unique_for_user Must be unique Asc/Asc user_id + email
one_primary_per_user Must be unique Asc user_id

Relationships