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

@@ -17,7 +17,7 @@ class DomainEntity
#[ORM\Id]
#[ORM\ManyToOne(targetEntity: Entity::class, cascade: ['persist'], inversedBy: 'domainEntities')]
#[ORM\JoinColumn(referencedColumnName: 'id', nullable: false)]
#[ORM\JoinColumn(referencedColumnName: 'handle', nullable: false)]
private ?Entity $entity = null;
#[ORM\Column(type: Types::SIMPLE_ARRAY, enumType: DomainRole::class)]