diff --git a/src/Commands/TenantDump.php b/src/Commands/TenantDump.php index c75a9e31..3f957bdd 100644 --- a/src/Commands/TenantDump.php +++ b/src/Commands/TenantDump.php @@ -23,7 +23,7 @@ class TenantDump extends DumpCommand public function handle(ConnectionResolverInterface $connections, Dispatcher $dispatcher): int { if (is_null($this->option('path'))) { - $this->input->setOption('path', config('tenancy.migration_parameters.--schema-path')); + $this->input->setOption('path', database_path('schema/tenant-schema.dump')); } $tenant = $this->option('tenant')