title: Get relationship with eloquent
body: <p>I am using <code>laravel 6.16.0</code> and I have two migrations:</p>
  
  <p><em>person</em></p>
  
  <pre><code>  Schema::create('persons', function (Blueprint $table) {
              $table-&gt;bigIncrements('id');
              $table-&gt;string('full_name')-&gt;nullable($value = true);
              $table-&gt;date('date_of_birth')-&gt;nullable($value = true);
              $table-&gt;string('phone')-&gt;nullable($value = true);
              $table-&gt;string('office')-&gt;nullable($value = true);
              $table-&gt;timestamps();
    });
  </code></pre>
  
  <p><em>senator_attributes</em></p>
  
  <pre><code>        Schema::create('senator_attributes', function (Blueprint $table) {
              $table-&gt;bigIncrements('id');
              $table-&gt;integer('persons_id')-&gt;default('999999')-&gt;nullable($value = true);
              $table-&gt;string('party')-&gt;nullable($value = true);
              // ...
              $table-&gt;timestamps();
          });
  </code></pre>
  
  <p>My models look like the following:</p>
  
  <pre><code>class Person extends Model
  {
      protected $table = 'persons';
  
      protected $guarded = ['id'];
  
  }
  </code></pre>
  
  <pre><code>class SenatorAttributes extends Model
  {
      protected $table = 'senator_attributes';
  
      protected $guarded = ['id'];
  
      public function person()
      {
          return $this-&gt;belongsTo(Person::class, 'persons_id');
      }
  }
  </code></pre>
  
  <p>I was wondering, how can I query all Persons and get for each person their attributes?</p>
  
  <p>I appreciate your replies!</p>