title: Laravel Updated Event (Observer): SQLSTATE[22001] Error
body: <p>I'm trying to append the <code>species</code>' ID to its name at the event of an <em>update</em> through an <code>observer</code>, but for some reason it's somewhat getting <em>looped</em> hence the <strong><code>SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column</code></strong> error:</p>
  <p><code>SpeciesController@update</code></p>
  <pre class="lang-php prettyprint-override"><code>    /**
       * Update the specified resource in storage.
       *
       * @param  \Illuminate\Http\Request  $request
       * @param  \App\Species  $species
       * @return \Illuminate\Http\Response
       */
      public function update(Request $request, Species $species)
      {
          $species-&gt;name = $request-&gt;name;
          $species-&gt;sort = $request-&gt;sort;
  
          $species-&gt;save();
  
          $updatedSpecies = new SpeciesResource($species);
  
          return response()-&gt;json(compact('updatedSpecies'), 200);
      }
  
  </code></pre>
  <p><code>SpeciesObserver@updated</code></p>
  <pre class="lang-php prettyprint-override"><code>    /**
       * Handle the species &quot;updated&quot; event.
       *
       * @param  \App\Species  $species
       * @return void
       */
      public function updated(Species $species)
      {
          $species-&gt;name = &quot;$species-&gt;name - $species-&gt;id&quot;;
  
          $species-&gt;save();
      }
  
  </code></pre>
  <p><a href="https://i.stack.imgur.com/crdnk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/crdnk.png" alt="enter image description here" /></a></p>