title: laravel find returning null when trying to do an update
body: <p>I am trying to do an update with my data but when I try to pass $object to another view it is returning me null value. I did a dd($id) and it return me the id that I wanted but if I do a dd($object) return me null. I have check similar question to this such as <a href="https://stackoverflow.com/questions/26139886/laravel-eloquentfind-returning-null-with-an-existing-id">Laravel Eloquent::Find() returning NULL with an existing ID</a> but still doesn't work. Everyone say that the problem comes from the database, but I don't understand which part. Can anyone help me? Thanks a lot</p>
  
  <p>VerificationController:</p>
  
  <pre><code> public function editVerify($id){
      $object = Verification::find($id);
      dd($object);
      return view('editVerify', compact('object'));
  }
  </code></pre>
  
  <p>Verification Model:</p>
  
  <pre><code>     public function personal_infos() {
          return $this-&gt;belongsTo("App\PersonalInfo", "id", 'user_id');
  }
  </code></pre>
  
  <p>PersonalInfo model:</p>
  
  <pre><code>                public function verifications() {
  return $this-&gt;hasOne('App\Verification','user_id');
  </code></pre>
  
  <p>}</p>
  
  <p>This is what it look like in the database(some value are NULL while some contain data)
  <a href="https://i.stack.imgur.com/sF9eV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sF9eV.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/y2DAv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y2DAv.png" alt="enter image description here"></a>
  Verification table:</p>
  
  <pre><code>  Schema::create('verifications', function (Blueprint $table) {
              $table-&gt;increments('id');
              $table-&gt;string('name');
                $table-&gt;string('Nationality');
              $table-&gt;string('identity_type');
              $table-&gt;string('residential_status');
              $table-&gt;string('NRIC_check');
              $table-&gt;string('nric_number1');
              $table-&gt;string('blacklist');
              $table-&gt;string('whiteCard');
              $table-&gt;string('educational_cert');
              $table-&gt;string('WSQ_cert');
              $table-&gt;integer('user_id')-&gt;unsigned(); 
              $table-&gt;foreign('user_id')-&gt;references('id')-&gt;on('personal_infos');
              $table-&gt;timestamps();
          });
  </code></pre>