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
*
* @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;