Skip to content

Commit db9efd4

Browse files
committed
Fix PdoPgSqlQueryReflector build
1 parent 94cebca commit db9efd4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/QueryReflection/PdoPgSqlQueryReflector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ protected function checkInformationSchema(string $tableName): Iterator
119119
$this->stmt->execute([$tableName]);
120120
$result = $this->stmt->fetchAll(PDO::FETCH_ASSOC);
121121

122+
// pgsql and mysql have a similar named but different information schema, with different cased key-words
123+
// @phpstan-ignore-next-line
122124
/** @var array{column_default?: string, column_name: string, is_nullable: string} $row */
123125
foreach ($result as $row) {
124126
$default = $row['column_default'] ?? '';

0 commit comments

Comments
 (0)