Remove ORM\ prefix from JoinColumn annotations in PersonHistory entity

This commit is contained in:
2026-01-02 15:04:41 +01:00
parent 3afdedabad
commit da3db1cf7a

View File

@@ -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'])]