fixed deleting recurring appointments being broken #68

Open
ikselven wants to merge 1 commit from fix-deleting-appointments into master
Showing only changes of commit 21a2e84e8d - Show all commits

View file

@ -35,7 +35,7 @@ class RepeatingEventLogEntry extends BaseEntity
* @var RepeatingEvent * @var RepeatingEvent
* *
* @ORM\ManyToOne(targetEntity="RepeatingEvent") * @ORM\ManyToOne(targetEntity="RepeatingEvent")
* @ORM\JoinColumn(name="repeating_events_id", referencedColumnName="id") * @ORM\JoinColumn(name="repeating_events_id", referencedColumnName="id", onDelete="CASCADE")
*/ */
protected $repeating_event; protected $repeating_event;
@ -67,4 +67,4 @@ class RepeatingEventLogEntry extends BaseEntity
* @ORM\Column(name="event_enddate", type="datetimetz", nullable=true) * @ORM\Column(name="event_enddate", type="datetimetz", nullable=true)
*/ */
protected $event_enddate; protected $event_enddate;
} }