gz_protocollot_customers
– protocollot-orgdetail relationship
Столбцы
id
integer NOT NULL PRIMARY KEYID
orgdetail_id
bigint NOT NULL FOREIGN KEY REFERENCESgz_orgdetail
(id
)orgdetail
protocollot_id
bigint NOT NULL FOREIGN KEY REFERENCESgz_protocollot
(id
)protocollot
Ограничения
UNIQUE KEY (protocollot_id, orgdetail_id)
Внешние ключи
orgdetail_id
bigint NOT NULL FOREIGN KEY REFERENCESgz_orgdetail
(id
)orgdetail
protocollot_id
bigint NOT NULL FOREIGN KEY REFERENCESgz_protocollot
(id
)protocollot