title: Laravel Eloquent relationship returning null
body: <p>I seem to be having issues with my Eloquent relationships.  I have a couple of tables to demonstrate</p>
  <pre><code>Schema::create('properties', function (Blueprint $table) {
      $table-&gt;integer('id')-&gt;unsigned()-&gt;index();
      $table-&gt;integer('propertyid')-&gt;unsigned()-&gt;index();
      $table-&gt;longText('description')-&gt;nullable();
      $table-&gt;boolean('garden')-&gt;nullable();
      $table-&gt;boolean('parking')-&gt;nullable();
  });
  
  Schema::create('address', function (Blueprint $table) {
      $table-&gt;integer('propertyid')-&gt;unsigned()-&gt;index();
      $table-&gt;string('name')-&gt;nullable();
      $table-&gt;string('street')-&gt;nullable();
  
      $table-&gt;foreign('propertyid')
          -&gt;references('propertyid')
          -&gt;on('properties')
          -&gt;onDelete('cascade');
  });
  </code></pre>
  <p>Removed a lot of columns to cut down on code.  The relationships are pretty straight forward, within Property.php I define the relationship to address, using the foreign key name.</p>
  <pre><code>public function address()
  {
      return $this-&gt;hasOne(Address::class, 'propertyid');
  }
  </code></pre>
  <p>And then in Address.php I do the inverse</p>
  <pre><code>public function property()
  {
      return $this-&gt;belongsTo(Property::class, 'propertyid');
  }
  </code></pre>
  <p>When I populate my database, I can go into the address table, click on the propertyid, and it takes me to the correct property, so it seems to be set up correctly.  However, in my Controller, if I do</p>
  <pre><code>$properties = Property::with('address')-&gt;paginate(6);
  </code></pre>
  <p>And I output this using <code>dd</code>, the relations output returns null</p>
  <pre><code>#relations: array:6 [
      &quot;address&quot; =&gt; null
  ]
  </code></pre>
  <p>Why does this not pick up the relationship?</p>
  <p>Thanks</p>