mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 23:24:03 +00:00
Using laravel components
This commit is contained in:
parent
6ee93d0441
commit
2f15dd5473
10 changed files with 142 additions and 59 deletions
|
|
@ -36,7 +36,7 @@ class Seed extends SeedCommand
|
|||
}
|
||||
|
||||
tenancy()->runForMultiple($this->getTenants(), function ($tenant) {
|
||||
$this->line("Tenant: {$tenant->getTenantKey()}");
|
||||
$this->components->info("Tenant: {$tenant->getTenantKey()}");
|
||||
|
||||
event(new SeedingDatabase($tenant));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue