Added an simple import system for attachment types.

This commit is contained in:
Jan Böhmer 2019-04-11 22:41:21 +02:00
parent b827737caa
commit 68aa750e00
7 changed files with 297 additions and 6 deletions

View file

@ -43,7 +43,7 @@ class AttachmentType extends StructuralDBElement
protected $attachments;
/**
* @ORM\OneToMany(targetEntity="AttachmentType", mappedBy="parent")
* @ORM\OneToMany(targetEntity="AttachmentType", mappedBy="parent", cascade={"persist"})
*/
protected $children;