Fix entity mapping

This commit is contained in:
Timothy Warren 2024-03-27 16:25:07 -04:00
parent 6c863022f5
commit 540949b9d5

View File

@ -20,7 +20,7 @@ class PreviouslyOwnedCpu {
/**
* @var Collection<int, Socket>
*/
#[ORM\ManyToMany(targetEntity: Socket::class, inversedBy: 'previously_owned_cpus', fetch: 'LAZY')]
#[ORM\ManyToMany(targetEntity: Socket::class, inversedBy: 'previously_owned_cpu', fetch: 'LAZY')]
#[ORM\JoinTable('collection.previously_owned_cpu_socket_link')]
#[ORM\JoinColumn('cpu_id', referencedColumnName: 'id')]
#[ORM\InverseJoinColumn('socket_id', referencedColumnName: 'id')]