Skip to content

Commit b34ea46

Browse files
authored
Fix for deprecated fetchAll > fetchAllAssociative (#463)
1 parent a5f809a commit b34ea46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tracer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private function extractColumns(Model $model)
103103
});
104104

105105
if ($uses_enums) {
106-
$definitions = $model->getConnection()->getDoctrineConnection()->fetchAll($schema->getDatabasePlatform()->getListTableColumnsSQL($table, $database));
106+
$definitions = $model->getConnection()->getDoctrineConnection()->fetchAllAssociative($schema->getDatabasePlatform()->getListTableColumnsSQL($table, $database));
107107

108108
collect($columns)->filter(function ($column) {
109109
return $column->getType() instanceof \Blueprint\EnumType;

0 commit comments

Comments
 (0)