fix: update table scheme

This commit is contained in:
Maël Gangloff
2024-07-12 13:16:40 +02:00
parent 975199f328
commit a7c6dfcd13
5 changed files with 203 additions and 7 deletions

View File

@@ -9,7 +9,6 @@ use Doctrine\ORM\Mapping as ORM;
class EntityEvent extends Event
{
#[ORM\Id]
#[ORM\ManyToOne(targetEntity: Entity::class, inversedBy: 'events')]
#[ORM\JoinColumn(referencedColumnName: 'handle', nullable: false)]
private ?Entity $entity = null;