From c90b74cba006ff7643e542fc04ed294a648e552b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 25 Oct 2022 17:59:10 +0200 Subject: [PATCH] hardcode default instead of reading from a config key that doesn't have to exist --- src/Commands/TenantDump.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')