1
0
Fork 0
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:
j.stein 2022-10-09 00:11:37 -04:00
parent 6ee93d0441
commit 2f15dd5473
10 changed files with 142 additions and 59 deletions

View file

@ -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));