Move current_image caching to plugins

This commit is contained in:
zv0n 2025-05-10 20:54:59 +02:00
parent 6bfd9a2d8b
commit 4aa67ce02d
6 changed files with 18 additions and 18 deletions

View file

@ -15,7 +15,6 @@ class PlaylistItem extends Model
protected $casts = [
'is_active' => 'boolean',
'last_displayed_at' => 'datetime',
'current_image' => 'string',
];
public function playlist(): BelongsTo

View file

@ -17,6 +17,7 @@ class Plugin extends Model
'data_payload' => 'json',
'data_payload_updated_at' => 'datetime',
'is_native' => 'boolean',
'current_image' => 'string',
];
protected static function boot()