-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,6 +119,8 @@ protected function checkInformationSchema(string $tableName): Iterator | |
$this->stmt->execute([$tableName]); | ||
$result = $this->stmt->fetchAll(PDO::FETCH_ASSOC); | ||
|
||
// pgsql and mysql have a similar named but different information schema, with different cased key-words | ||
// @phpstan-ignore-next-line | ||
/** @var array{column_default?: string, column_name: string, is_nullable: string} $row */ | ||
foreach ($result as $row) { | ||
Check failure on line 125 in src/QueryReflection/PdoPgSqlQueryReflector.php GitHub Actions / PHPStan (8.0, mysql:8.0, mysqli, recording)
Check failure on line 125 in src/QueryReflection/PdoPgSqlQueryReflector.php GitHub Actions / PHPStan (8.1, mysql:8.0, mysqli, recording)
Check failure on line 125 in src/QueryReflection/PdoPgSqlQueryReflector.php GitHub Actions / PHPStan (8.2, mysql:8.0, mysqli, recording)
Check failure on line 125 in src/QueryReflection/PdoPgSqlQueryReflector.php GitHub Actions / PHPStan (8.0, mysql:8.0, pdo-mysql, recording, --health-cmd="mysqladmin ping" --health-interval=1...
Check failure on line 125 in src/QueryReflection/PdoPgSqlQueryReflector.php GitHub Actions / PHPStan (8.0, mysql:8.0, pdo-mysql, recording, --health-cmd="mysqladmin ping" --health-interval=1...
|
||
$default = $row['column_default'] ?? ''; | ||
|