allow null value in end date in location history

This commit is contained in:
2022-02-19 09:43:20 +01:00
parent 2f2d4493ae
commit 104af6d9b5
2 changed files with 5 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ class AccompanyingPeriodLocationHistory
private ?Address $addressLocation = null;
/**
* @ORM\Column(type="date_immutable")
* @ORM\Column(type="date_immutable", nullable=true, options={"default":null})
*/
private ?DateTimeImmutable $endDate = null;