From 6e72889294fbe893cac3233f627258cc1c194347 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 30 May 2023 09:53:15 +0200 Subject: [PATCH] rename again --- app/Models/Application.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Application.php b/app/Models/Application.php index c4541e48a..19ae1d9a6 100644 --- a/app/Models/Application.php +++ b/app/Models/Application.php @@ -42,11 +42,11 @@ class Application extends BaseModel ]; public $casts = [ - 'previews' => SchemalessAttributes::class, + 'extra_attributes' => SchemalessAttributes::class, ]; public function scopeWithExtraAttributes(): Builder { - return $this->previews->modelScope(); + return $this->extra_attributes->modelScope(); } public function publishDirectory(): Attribute {