job updates

This commit is contained in:
2021-05-30 21:57:45 +09:00
parent 565693d911
commit 1be8be97aa
3 changed files with 32 additions and 28 deletions
+8 -6
View File
@@ -173,18 +173,20 @@ class PurgeUsers implements ShouldQueue
])->delete();
}
//Delete the user from the user table
User::where([
'character_id' => $user->character_id,
])->delete();
//Delete the user's esi scopes
EsiScope::where([
'character_id' => $user->character_id,
])->delete();
//Delete the user's esi token
EsiToken::where([
'character_id' => $user->character_id,
])->delete();
])->delete();
//Delete the user from the user table
User::where([
'character_id' => $user->character_id,
])->delete();
}
}
}