mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 18:34:04 +00:00
hardcode default instead of reading from a config key that doesn't have to exist
This commit is contained in:
parent
d863640341
commit
c90b74cba0
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue