mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:14:04 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
be077ae73c
commit
fd66537e7f
2 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ class Migrate extends MigrateCommand
|
|||
|
||||
tenant()->all($this->option('tenants'))->each(function ($tenant) {
|
||||
$this->line("Tenant: {$tenant['uuid']} ({$tenant['domain']})");
|
||||
|
||||
|
||||
// See Illuminate\Database\Migrations\DatabaseMigrationRepository::getConnection.
|
||||
// Database connections are cached by Illuminate\Database\ConnectionResolver.
|
||||
$connectionName = "tenant{$tenant['uuid']}";
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ use Illuminate\Database\DatabaseManager as BaseDatabaseManager;
|
|||
final class DatabaseManager
|
||||
{
|
||||
public $originalDefaultConnection;
|
||||
|
||||
|
||||
protected $defaultTenantConnectionName = 'tenant';
|
||||
|
||||
public function __construct(BaseDatabaseManager $database)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue