Merge pull request #3351 from alchemy-fr/PHRAS-2934_Bad-dctrine-mapping-webhookeventdelivery_4.1

PHRAS-2934 #comment Bad doctrine mapping webhookeventdelivery 4.1
This commit is contained in:
Nicolas Maillat
2020-02-18 21:12:21 +01:00
committed by GitHub

View File

@@ -30,7 +30,7 @@ class WebhookEventPayload
private $id;
/**
* @ORM\OneToOne(targetEntity="WebhookEventDelivery")
* @ORM\OneToOne(targetEntity="WebhookEventDelivery", inversedBy="payload")
* @ORM\JoinColumn(name="delivery_id", referencedColumnName="id")
*/
private $delivery;