feat: add id column on entity

This commit is contained in:
Maël Gangloff
2025-02-18 01:29:29 +01:00
parent e7b8ce612e
commit 89a7daf882
9 changed files with 264 additions and 12 deletions

View File

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