1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-22 07:42:41 +00:00

Update UserSetting model, cast compose_settings and other as json

This commit is contained in:
Daniel Supernault 2021-12-04 17:35:50 -07:00
parent 98f76abbe8
commit 0342027867
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -7,4 +7,9 @@ use Illuminate\Database\Eloquent\Model;
class UserSetting extends Model
{
protected $fillable = ['user_id'];
protected $casts = [
'compose_settings' => 'json',
'other' => 'json'
];
}