1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-15 00:04:04 +00:00

Merge branch '1.x' of github.com:stancl/tenancy into 1.x

This commit is contained in:
Samuel Štancl 2019-08-17 16:33:49 +02:00
commit 760817529e
4 changed files with 22 additions and 635 deletions

View file

@ -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']}";