From 71dcdadb3b8d8af6b4cd6ef38219578498db03cf Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 5 May 2021 14:19:36 +0930 Subject: [PATCH] Eloquent: don't prefix table name - defer this to the schema --- src/Adapter/EloquentAdapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Adapter/EloquentAdapter.php b/src/Adapter/EloquentAdapter.php index 4da8352..754f7eb 100644 --- a/src/Adapter/EloquentAdapter.php +++ b/src/Adapter/EloquentAdapter.php @@ -232,7 +232,7 @@ class EloquentAdapter implements AdapterInterface private function getAttributeColumn(Attribute $attribute): string { - return $this->model->getTable().'.'.$this->getAttributeProperty($attribute); + return $this->getAttributeProperty($attribute); } private function getRelationshipProperty(Relationship $relationship): string