Created
February 4, 2014 16:58
-
-
Save daslicht/8807759 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ship.php | |
/** | |
* @ORM\ManyToOne(targetEntity="Producer", inversedBy="ship") | |
* @ORM\JoinColumn(name="producer_id", referencedColumnName="id") | |
*/ | |
protected $producer; | |
... | |
Producer.php | |
/** | |
* @ORM\OneToMany(targetEntity="Ship", mappedBy="producer" ) | |
*/ | |
protected $ships; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mapping errors:
The mappings DasLicht\CapeSidePortBundle\Entity\Producer#ships and DasLicht\CapeSidePortBundle\Entity\Ship#producer are inconsistent with each other.