1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 20:34:03 +00:00

hardcode default instead of reading from a config key that doesn't have to exist

This commit is contained in:
Samuel Štancl 2022-10-25 17:59:10 +02:00 committed by GitHub
parent d863640341
commit c90b74cba0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ class TenantDump extends DumpCommand
public function handle(ConnectionResolverInterface $connections, Dispatcher $dispatcher): int public function handle(ConnectionResolverInterface $connections, Dispatcher $dispatcher): int
{ {
if (is_null($this->option('path'))) { 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') $tenant = $this->option('tenant')