diff --git a/src/Bundle/ChillTicketBundle/src/Entity/PersonHistory.php b/src/Bundle/ChillTicketBundle/src/Entity/PersonHistory.php index 38df02f17..70c2815f2 100644 --- a/src/Bundle/ChillTicketBundle/src/Entity/PersonHistory.php +++ b/src/Bundle/ChillTicketBundle/src/Entity/PersonHistory.php @@ -41,7 +41,7 @@ class PersonHistory implements TrackCreationInterface private ?\DateTimeImmutable $endDate = null; #[ORM\ManyToOne(targetEntity: User::class)] - #[ORM\JoinColumn(nullable: true)] + #[JoinColumn(nullable: true)] #[Serializer\Groups(['read'])] private ?User $removedBy = null; @@ -51,7 +51,7 @@ class PersonHistory implements TrackCreationInterface #[Serializer\Groups(['read'])] private Person $person, #[ORM\ManyToOne(targetEntity: Ticket::class)] - #[ORM\JoinColumn(nullable: false)] + #[JoinColumn(nullable: false)] private Ticket $ticket, #[ORM\Column(type: \Doctrine\DBAL\Types\Types::DATETIME_IMMUTABLE, nullable: false)] #[Serializer\Groups(['read'])]