fixed deleting recurring appointments being broken

This commit is contained in:
ikselven 2017-12-16 19:07:49 +01:00 committed by GitHub
parent 662e1007c1
commit 21a2e84e8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
} }