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 101aa0f commit 5773bcbCopy full SHA for 5773bcb
src/Laravel/Eloquent/Metadata/ModelMetadata.php
@@ -76,7 +76,7 @@ public function getAttributes(Model $model): array
76
$columns = $schema->getColumns($table);
77
$indexes = $schema->getIndexes($table);
78
$relations = $this->getRelations($model);
79
-
+
80
$foreignKeys = array_flip(array_filter(array_column($relations, 'foreign_key')));
81
$attributes = [];
82
0 commit comments