Notification: avoid the comment's content to be null

This commit is contained in:
2023-12-05 16:26:06 +00:00
committed by Julien Fastré
parent c00c6066a9
commit b26b7a2706
4 changed files with 43 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ class Comment implements TrackCreationInterface, TrackUpdateInterface
private ?AccompanyingPeriod $accompanyingPeriod = null;
/**
* @ORM\Column(type="text")
* @ORM\Column(type="text", nullable=false, options={"default":""})
*
* @Groups({"read", "write", "docgen:read"})
*