Response entity child ManyToOne

pull/16/head
root 2018-06-05 17:55:46 +02:00
parent 733540f7ba
commit e6c190c9be
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class Response
private $question;
/**
* @ORM\OneToOne(targetEntity="App\Entity\Question", cascade={"persist", "remove"})
* @ORM\ManyToOne(targetEntity="App\Entity\Question", cascade={"persist", "remove"})
* @ORM\JoinTable(name="question")
* @ApiSubresource()
*/