This commit is contained in:
2026-03-08 05:01:07 -05:00
parent f966549b99
commit 272f23f9f7
2 changed files with 2 additions and 2 deletions

View File

@@ -49,6 +49,7 @@ class EveLoginController extends Controller
$user = User::updateOrCreate(
['character_id' => $characterId],
[
'avatar' => $avatar,
'character_name' => $characterName,
'character_owner_hash' => $characterOwnerHash,
'token' => $token,
@@ -70,7 +71,6 @@ class EveLoginController extends Controller
$esiToken = EsiToken::updateOrCreate(
['character_id' => $characterId],
[
'character_id' => $characterId,
'token' => $token,
'refresh_token' => $refreshToken,
'expiresIn' => $ssoUser->expiresIn,

View File

@@ -19,7 +19,7 @@ return new class extends Migration
$table->string('character_owner_hash')->index();
$table->string('character_name');
$table->unsignedBigInteger('character_id')->unique();
$table->string('avatar');
$table->text('avatar');
$table->text('token');
$table->text('refresh_token')->nullable();
$table->integer('expiresIn')->nullable();