login controller for inserted at token attribute

This commit is contained in:
2019-10-22 23:18:40 -05:00
parent e76794172d
commit cc4f921fd6
5 changed files with 18 additions and 8 deletions

View File

@@ -22,9 +22,12 @@ class UserAlt extends Model
'character_id',
'avatar',
'access_token',
'refresh_token',
'inserted_at',
'expires_in',
'owner_hash',
];
public function mainCharacter() {
return $this->belongsTo('App\Models\User\User', 'character_id');
}
}