FIX [migration][absence] fix the typing in db for absence datetime immuatable

This commit is contained in:
2023-01-12 11:11:43 +01:00
parent b2924ede70
commit b93b78615b
3 changed files with 3 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ class User implements AdvancedUserInterface
protected ?int $id = null;
/**
* @ORM\Column(type="datetime", nullable=true)
* @ORM\Column(type="datetime_immutable", nullable=true)
*/
private ?DateTimeImmutable $absenceStart = null;