How do I define a composite foreign key?

Similar to this syntax in prisma?
%field%   %Type% @relation(fields: [id, objectType], references: [objectId, objectType])


I saw the section about composite primary keys but I didn't find anything about composite foreign keys.

Thank you in advance
Was this page helpful?