diff --git a/src/PersistentData/Model/UserConfirmation.php b/src/PersistentData/Model/UserConfirmation.php index 70a76d6..fac2b2d 100644 --- a/src/PersistentData/Model/UserConfirmation.php +++ b/src/PersistentData/Model/UserConfirmation.php @@ -6,6 +6,8 @@ class UserConfirmation extends Model protected static array $fields = ['user_id', 'token']; + protected static array $relations = ['user' => User::class]; + private ?User $user = null; private ?int $userId = null;