Fix entity mapping
This commit is contained in:
parent
6c863022f5
commit
540949b9d5
@ -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')]
|
||||
|
Loading…
Reference in New Issue
Block a user