mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:54:03 +00:00
Specify namespace on global functions (fix #35)
This commit is contained in:
parent
e1c4dc8934
commit
7f323aaa94
15 changed files with 42 additions and 44 deletions
|
|
@ -49,7 +49,7 @@ class Rollback extends RollbackCommand
|
|||
|
||||
$this->input->setOption('database', 'tenant');
|
||||
|
||||
tenant()->all($this->option('tenants'))->each(function ($tenant) {
|
||||
\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