We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77e2e77 commit 12fb0a0Copy full SHA for 12fb0a0
src/Domain/Identity/Model/AdministratorToken.php
@@ -43,7 +43,7 @@ class AdministratorToken implements DomainModel, Identity, CreationDate
43
private string $key = '';
44
45
#[ORM\ManyToOne(targetEntity: Administrator::class)]
46
- #[ORM\JoinColumn(name: 'adminid')]
+ #[ORM\JoinColumn(name: 'adminid', referencedColumnName: 'id', onDelete: 'CASCADE')]
47
private ?Administrator $administrator = null;
48
49
public function __construct()
0 commit comments