mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 08:14:02 +00:00
Left trim - from option names
This commit is contained in:
parent
e886c2bae5
commit
48f8df62cb
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class Seed extends SeedCommand
|
||||||
$this->input->setOption('database', $tenant->getConnectionName());
|
$this->input->setOption('database', $tenant->getConnectionName());
|
||||||
|
|
||||||
foreach (config('tenancy.seeder_parameters') as $parameter => $value) {
|
foreach (config('tenancy.seeder_parameters') as $parameter => $value) {
|
||||||
$this->input->setOption($parameter, $value);
|
$this->input->setOption(ltrim($parameter, '-'), $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
$tenant->run(function () {
|
$tenant->run(function () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue