diff --git a/app/src/Database/User.php b/app/src/Database/User.php index 58f1496..85f91bc 100644 --- a/app/src/Database/User.php +++ b/app/src/Database/User.php @@ -64,7 +64,7 @@ class User implements PasswordContainerInterface #[ORM\Relation\BelongsTo(target: Currency::class, innerKey: 'default_currency_code', cascade: true, load: 'eager')] private Currency $defaultCurrency; - #[ORM\Relation\HasOne(target: GoogleAccount::class, outerKey: 'user_id', nullable: true, cascade: true)] + #[ORM\Relation\HasOne(target: GoogleAccount::class, outerKey: 'user_id', nullable: true, cascade: false)] public GoogleAccount|null $googleAccount = null; #[ORM\Column(type: 'json', name: 'options', typecast: JsonTypecast::RULE)]