mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
parent
2af7ef5a0e
commit
4195ab703a
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ App\Tenant::all()->runForEach(function () {
|
|||
If you use Laravel 8, the the command is slightly different:
|
||||
|
||||
```php
|
||||
App\Tenant::all()->runForEach(function () {
|
||||
App\Models\Tenant::all()->runForEach(function () {
|
||||
App\Models\User::factory()->create();
|
||||
});
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue