Skip to content

Commit

Permalink
fix connection returning string (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
simoebenhida authored Dec 5, 2023
1 parent 23ce6d4 commit 31094fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function getConnection(): ?string
*/
public function up(): void
{
$connection = $this->getConnection() ?? DB::connection();
$connection = DB::connection($this->getConnection());

Schema::create('pulse_values', function (Blueprint $table) use ($connection) {
$table->engine = 'InnoDB';
Expand Down

0 comments on commit 31094fa

Please sign in to comment.