From f8bd1458d3446ab51307731c4fc4d3bd32be2397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 24 Feb 2019 12:59:41 +0100 Subject: [PATCH] Added some nullable attributes to entitys. --- src/Entity/StructuralDBElement.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity/StructuralDBElement.php b/src/Entity/StructuralDBElement.php index 28d6ab2b..8597db55 100644 --- a/src/Entity/StructuralDBElement.php +++ b/src/Entity/StructuralDBElement.php @@ -61,13 +61,13 @@ abstract class StructuralDBElement extends AttachmentContainingDBElement /** * @var string The comment info for this element - * @ORM\Column(type="string") + * @ORM\Column(type="string", nullable=true) */ protected $comment; /** * @var int - * @ORM\Column(type="integer") + * @ORM\Column(type="integer", nullable=true) */ protected $parent_id;