diff --git a/plugins/baser-core/src/Database/Migration/BcSeed.php b/plugins/baser-core/src/Database/Migration/BcSeed.php index 006ad835f4..b964eb1598 100644 --- a/plugins/baser-core/src/Database/Migration/BcSeed.php +++ b/plugins/baser-core/src/Database/Migration/BcSeed.php @@ -41,6 +41,8 @@ public function table(string $tableName, array $options = []): Table { if($this->input->hasParameterOption('connection')) { $connection = $this->input->getParameterOption('connection'); + } elseif($this->input->hasParameterOption('--connection')) { + $connection = $this->input->getParameterOption('--connection'); } else { $connection = 'default'; }