Skip to content

Commit 566eb8b

Browse files
[5.x] Fix eloquent:import-users command with computed values (#13260)
1 parent 0a84664 commit 566eb8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Console/Commands/ImportUsers.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ private function importUsers()
7373
app()->bind(UserContract::class, FileUser::class);
7474
app()->bind(UserRepositoryContract::class, FileRepository::class);
7575

76+
User::clearResolvedInstances();
77+
7678
$users = User::all();
7779

7880
if ($users->isEmpty()) {

0 commit comments

Comments
 (0)