company_to_customers

-1 rows


Description

Таблица связей между компаниями и покупателями

Columns

Column Type Size Nulls Auto Default Children Parents Comments
company_id int4 10 null
companies.id company_to_customers_company_id_fkey R

id компании

customer_id int4 10 null
customers.id company_to_customers_customer_id_fkey R

id покупателя

Indexes

Constraint Name Type Sort Column(s)
company_to_customers_pkey Primary key Asc/Asc company_id + customer_id
company_to_customers_customer_id_key Must be unique Asc customer_id

Relationships