fz223_organization_classification_activities_okved
– organization-okved relationship
Столбцы
id
integer NOT NULL PRIMARY KEYID
okved_id
text NOT NULL FOREIGN KEY REFERENCESfz223_okved
(code
)okved
organization_id
bigint NOT NULL FOREIGN KEY REFERENCESfz223_organization
(synthetic_id
)organization
Ограничения
UNIQUE KEY (organization_id, okved_id)
Внешние ключи
okved_id
text NOT NULL FOREIGN KEY REFERENCESfz223_okved
(code
)okved
organization_id
bigint NOT NULL FOREIGN KEY REFERENCESfz223_organization
(synthetic_id
)organization