title: Eloquent relations
body: <p>Im having a bit of trouble to find the best and correct way to set up my Models relationships to fetch some of my data below... </p>
  
  <p>my plan is to display <strong>content</strong> depending on the <strong>content_type</strong> and the link between is the <strong>id</strong> from the Users table and the <strong>user_id</strong> form UserData table. Those are both models too <strong>Users</strong> and <strong>UserData</strong> </p>
  
  <p><strong>Users table</strong></p>
  
  <pre><code>*id*    *username*  *password* 
  1       johndoe     123
  2       janedoe     321
  </code></pre>
  
  <p><strong>UserData table</strong></p>
  
  <pre><code>*user_id    *content*         *content_type*
  1           John Doe          full_name
  1           john-doe.jpg      avatar
  1           laravel           twitter
  1           blue              favorite_color
  2           Jane Doe          full_name
  2           jane-doe.jpg      avatar
  2           Eloquent          twitter
  2           green             favorite_color
  </code></pre>
  
  <p>I hope someone can see what my purpose here is and know a solution.</p>