@@ -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'
+ ];
}