I am trying to set up a relationship as shown below. Each car can have one review. The car has a primary key on 2 columns. The review refers to the car through a combined primary key. Simple, theoretically.
class Car { private $make; private $model; private $review; } class Review { private $car; private $text; }
When I try to create a circuit, the following error appears.
The id
column name for the link from \ Entity \ Review to \ Entity \ Car does not exist.
What am I doing wrong?
source share