mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 19:54:04 +00:00
wip
This commit is contained in:
parent
2f37b598d7
commit
e46af3676f
2 changed files with 2 additions and 2 deletions
|
|
@ -49,6 +49,8 @@ class Migrate extends MigrateCommand
|
|||
|
||||
$this->input->setOption('database', 'tenant');
|
||||
|
||||
dd($this->option('tenants'));
|
||||
|
||||
tenant()->all($this->option('tenants'))->each(function ($tenant) {
|
||||
$this->line("Tenant: {$tenant['uuid']} ({$tenant['domain']})");
|
||||
$this->database->connectToTenant($tenant);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue