mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 02:04:03 +00:00
Update quickstart.blade.md (#86)
Laravel 8 by default create all Models in the models directory.
This commit is contained in:
parent
c2c6691f67
commit
18818cc27a
1 changed files with 2 additions and 2 deletions
|
|
@ -189,8 +189,8 @@ App\Tenant::all()->runForEach(function () {
|
|||
If you use Laravel 8, the the command is slightly different:
|
||||
|
||||
```php
|
||||
App\Tenant::all()->runForEach(function () {
|
||||
User::factory()->create();
|
||||
App\Models\Tenant::all()->runForEach(function () {
|
||||
App\Models\User::factory()->create();
|
||||
});
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue