diff --git a/README.md b/README.md index f52bbc9e..d1fd4afa 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,6 @@ composer require stancl/tenancy This package follows [semantic versioning 2.0.0](https://semver.org). Each major release will have its own branch, so that bug fixes can be provided for older versions as well. -Supported versions of Laravel are 5.7 and 5.8. - ### Configuring the `InitializeTenancy` middleware The `TenancyServiceProvider` automatically adds the `tenancy` middleware group which can be assigned to routes. You only need to make sure the middleware is top priority. diff --git a/src/Commands/Migrate.php b/src/Commands/Migrate.php index d6c5ca35..d70c1400 100644 --- a/src/Commands/Migrate.php +++ b/src/Commands/Migrate.php @@ -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);