diff --git a/app/UserSetting.php b/app/UserSetting.php index a8c67739d..41e12dd84 100644 --- a/app/UserSetting.php +++ b/app/UserSetting.php @@ -6,5 +6,10 @@ use Illuminate\Database\Eloquent\Model; class UserSetting extends Model { - protected $fillable = ['user_id']; + protected $fillable = ['user_id']; + + protected $casts = [ + 'compose_settings' => 'json', + 'other' => 'json' + ]; }