fix: update table scheme

This commit is contained in:
Maël Gangloff
2024-07-13 17:04:29 +02:00
parent 69dc301257
commit 63abc32d57
6 changed files with 20 additions and 47 deletions

View File

@@ -18,7 +18,7 @@ class NameserverEntity
#[ORM\Id]
#[ORM\ManyToOne(targetEntity: Entity::class, cascade: ['persist'], inversedBy: 'nameserverEntities')]
#[ORM\JoinColumn(referencedColumnName: 'id', nullable: false)]
#[ORM\JoinColumn(referencedColumnName: 'handle', nullable: false)]
private ?Entity $entity = null;