MAPG-69 fix missing relations in UserConfirmation

This commit is contained in:
Bence Pőcze 2020-06-21 01:21:42 +02:00
parent e612d0d93f
commit 295570a28d

View File

@ -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;