Skip to content

Commit

Permalink
Change relation between input and broadcast to ManyToOne to make inpu…
Browse files Browse the repository at this point in the history
…ts reusable (Fixes #83)
  • Loading branch information
Martin de Keijzer committed May 7, 2018
1 parent 8d46a2e commit f45dace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Entity/LiveBroadcast.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class LiveBroadcast
/**
* @var AbstractMedia|null
*
* @ORM\OneToOne(targetEntity="Martin1982\LiveBroadcastBundle\Entity\Media\AbstractMedia")
* @ORM\ManyToOne(targetEntity="Martin1982\LiveBroadcastBundle\Entity\Media\AbstractMedia")
* @ORM\JoinColumn(name="input_id", referencedColumnName="id")
*/
private $input;
Expand Down

0 comments on commit f45dace

Please sign in to comment.