migration

This commit is contained in:
Olivier PARPAILLON
2024-11-19 11:15:42 +01:00
parent 9730876ece
commit a2fe05a3ad
4 changed files with 112 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ class Participant implements UserInterface, PasswordAuthenticatedUserInterface
private ?string $password = null;
#[ORM\ManyToOne(targetEntity: Site::class, inversedBy: 'participants')]
#[ORM\JoinColumn(name: 'site_id', referencedColumnName: 'idSite', nullable: true)]
#[ORM\JoinColumn(name: 'id_site', referencedColumnName: 'id_site', nullable: true)]
private ?Site $site = null;
/**