Skip to content

Commit 742bed9

Browse files
authored
Add import for DB facade
1 parent 6d9a54f commit 742bed9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/common/etc/entrypoint.d/lib/laravel/test-db-connection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080

8181
// Test database connection
8282
try {
83+
use Illuminate\Support\Facades\DB;
84+
8385
// Use specific database connection if provided
8486
$connection = $databaseConnection ? DB::connection($databaseConnection) : DB::connection();
8587
$driver = $connection->getDriverName();

0 commit comments

Comments
 (0)