⚙️ SkinChroma Array cast

This commit is contained in:
Rico van Zelst
2023-10-27 10:22:19 +02:00
parent 021eae9bf4
commit f795a65882

View File

@@ -17,6 +17,10 @@ class SkinChroma extends Model
'chroma_image', 'chroma_image',
]; ];
protected $casts = [
'chroma_colors' => 'array',
];
public function skin() public function skin()
{ {
return $this->belongsTo(Skin::class); return $this->belongsTo(Skin::class);