More useful error message when not enough people in database fixture

This commit is contained in:
2023-07-28 01:22:58 +02:00
parent 6f2b538e27
commit 0ed5544ad3

View File

@@ -49,6 +49,10 @@ class UserHistory implements TrackCreationInterface
* @ORM\JoinColumn(nullable=false)
*/
private User $user,
/**
* @ORM\Column(type="datetime_immutable", nullable=false, options={"default": "now()"})
*/
private DateTimeImmutable $startDate = new DateTimeImmutable('now')
) {
}