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

@@ -25,7 +25,7 @@ class WatchList
#[ORM\ManyToMany(targetEntity: Domain::class, inversedBy: 'watchLists')]
#[ORM\JoinTable(name: 'watch_lists_domains',
joinColumns: [new ORM\JoinColumn(name: 'watch_list_token', referencedColumnName: 'token')],
inverseJoinColumns: [new ORM\JoinColumn(name: 'domain_handle', referencedColumnName: 'handle')])]
inverseJoinColumns: [new ORM\JoinColumn(name: 'domain_ldh_name', referencedColumnName: 'ldh_name')])]
private Collection $domains;
public function __construct()