mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
Update quickstart.blade.md (#92)
Snippet user creating for Laravel 8 is slightly wrong.
This commit is contained in:
parent
ec41639ae9
commit
cc75be1c1b
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:
|
If you use Laravel 8, the the command is slightly different:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
App\Models\Tenant::all()->runForEach(function () {
|
App\Tenant::all()->runForEach(function () {
|
||||||
App\Models\User::factory()->create();
|
App\Models\User::factory()->create();
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue