Skip to content

Commit 8f90e94

Browse files
committed
refactor: rename PostgresSQLSchemaDriver to PostgreSQLSchemaDriver for consistency
1 parent be32ec1 commit 8f90e94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Mcp/Tools/DatabaseSchema/PostgresSQLSchemaDriver.php renamed to src/Mcp/Tools/DatabaseSchema/PostgreSQLSchemaDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Exception;
88
use Illuminate\Support\Facades\DB;
99

10-
class PostgresSQLSchemaDriver extends DatabaseSchemaDriver
10+
class PostgreSQLSchemaDriver extends DatabaseSchemaDriver
1111
{
1212
public function getViews(): array
1313
{

src/Mcp/Tools/DatabaseSchema/SchemaDriverFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static function make(?string $connection = null): DatabaseSchemaDriver
1414

1515
return match ($driverName) {
1616
'mysql', 'mariadb' => new MySQLSchemaDriver($connection),
17-
'pgsql' => new PostgresSQLSchemaDriver($connection),
17+
'pgsql' => new PostgreSQLSchemaDriver($connection),
1818
'sqlite' => new SQLiteSchemaDriver($connection),
1919
default => new NullSchemaDriver($connection),
2020
};

0 commit comments

Comments
 (0)