title: Laravel Eloquent update not updating one field
body: <p>I am using Laravel API along with VueJS Frontend application. I send <code>axios</code> <code>POST</code> call along with some information which the user puts about himself. In the backend, I take that data and update the user record in the MySQL database. </p>
  
  <p>This is my backend code:</p>
  
  <pre><code>$user = User::where(['logintoken' =&gt; $request-&gt;login_token, 'remember_token' =&gt; $request-&gt;remember_token])-&gt;first();
              if (!$user) {
                  $status = 404;
                  $response = ['status' =&gt; false, 'message' =&gt; 'User not found.'];
              } else {
                  $affectedRows = $user-&gt;update([
                      'country' =&gt; $request-&gt;input('country'),
                      'city' =&gt; $request-&gt;input('city'),
                      'state' =&gt; $request-&gt;input('state'),
                      'dob' =&gt; $request-&gt;input('dob'),
                      'language' =&gt; $request-&gt;input('language'),
                      'street' =&gt; $request-&gt;input('street'),
                      'house' =&gt; $request-&gt;input('house'),
                      'avatar' =&gt; $request-&gt;input('avatar'),
                      'birthplace' =&gt; $request-&gt;input('birthplace'),
                      'type' =&gt; $request-&gt;input('userType'),
                      'bio' =&gt; $request-&gt;input('bio'),
                      'zip' =&gt; $request-&gt;input('zip'),
                      'has-completed-profile' =&gt; 1
                  ]);
                  if (!$affectedRows) {
                      $response = ['status' =&gt; false, 'message' =&gt; 'Error updating'];
                      $status = 500;
                  } else {
                      $response = ['status' =&gt; true, 'message' =&gt; 'User updated successfully', 'updated_record' =&gt; $user, 'request' =&gt; $affectedRows, 'zip' =&gt; $request-&gt;input('zip')];
                  }
              }
  </code></pre>
  
  <p>Now, this code is working perfectly fine, except, it is not updating the <code>zip</code> field. I <code>console.log()</code> the response in VueJS side, and I see that the <code>zip</code> value is correct and also the data type fo <code>zip</code> field in the DB is string. </p>
  
  <p>Still, this is not working for the <code>zip</code> column. When I had created the <code>users</code> migration, there was no <code>zip</code> column, but after some time, when I needed it, I created another migration and used it to alter the table to insert the <code>zip</code> field.</p>
  
  <p>Any idea on why it isn't working?</p>