Add casts for json data

This commit is contained in:
Daniel_I_Am 2020-08-29 01:22:45 +02:00
parent 79d0fe2f51
commit 64d66f0306
No known key found for this signature in database
GPG Key ID: 80C428FCC9743E84

View File

@ -15,4 +15,8 @@ class LodestoneCache extends Model
'lodestoneId', 'lodestoneId',
'content' 'content'
]; ];
protected $casts = [
'content' => 'array'
];
} }