rename again

This commit is contained in:
Andras Bacsai 2023-05-30 09:53:15 +02:00
parent 108c790cf4
commit 6e72889294

View File

@ -42,11 +42,11 @@ protected static function booted()
]; ];
public $casts = [ public $casts = [
'previews' => SchemalessAttributes::class, 'extra_attributes' => SchemalessAttributes::class,
]; ];
public function scopeWithExtraAttributes(): Builder public function scopeWithExtraAttributes(): Builder
{ {
return $this->previews->modelScope(); return $this->extra_attributes->modelScope();
} }
public function publishDirectory(): Attribute public function publishDirectory(): Attribute
{ {