We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3160612 commit 0151377Copy full SHA for 0151377
src/QueryReflection/PdoPgSqlQueryReflector.php
@@ -122,6 +122,9 @@ protected function checkInformationSchema(string $tableName): Iterator
122
foreach ($result as $row) {
123
$default = $row['COLUMN_DEFAULT'] ?? '';
124
$columnName = $row['COLUMN_NAME'];
125
+ if ($columnName === null) {
126
+ throw new ShouldNotHappenException('Failed to get column name');
127
+ }
128
$isNullable = 'YES' === $row['IS_NULLABLE'];
129
130
if (! $isNullable) {
0 commit comments