fixed deleting recurring appointments being broken #68

Open
ikselven wants to merge 1 commit from fix-deleting-appointments into master

View file

@ -35,7 +35,7 @@ class RepeatingEventLogEntry extends BaseEntity
* @var 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;
@ -67,4 +67,4 @@ class RepeatingEventLogEntry extends BaseEntity
* @ORM\Column(name="event_enddate", type="datetimetz", nullable=true)
*/
protected $event_enddate;
}
}