fix: update table scheme

This commit is contained in:
Maël Gangloff
2024-07-13 12:49:11 +02:00
parent 4b062a6759
commit 5faa6489b1
8 changed files with 68 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ class DomainEntity
{
#[ORM\Id]
#[ORM\ManyToOne(targetEntity: Domain::class, cascade: ['persist'], inversedBy: 'domainEntities')]
#[ORM\JoinColumn(referencedColumnName: 'handle', nullable: false)]
#[ORM\JoinColumn(referencedColumnName: 'ldh_name', nullable: false)]
private ?Domain $domain = null;
#[ORM\Id]