rename again
This commit is contained in:
parent
108c790cf4
commit
6e72889294
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user