Remove assert attribute on startdate

This commit is contained in:
Julie Lenaerts 2025-01-27 11:03:46 +01:00
parent eea1e40663
commit 912861dbff

View File

@ -46,7 +46,6 @@ class NewsItem implements TrackCreationInterface, TrackUpdateInterface
private string $content = '';
#[Assert\NotNull]
#[Assert\GreaterThanOrEqual('today')]
#[Groups(['read'])]
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::DATE_IMMUTABLE, nullable: false)]
private ?\DateTimeImmutable $startDate = null;