title: Laravel's pivot table + Pivot table in general
body: <p>What are laravel pivot tables and pivot tables in general? What is this all about?</p>
  
  <p>Recently I made research about Pivot table. I thought I know them and What they are but then I probably was wrong about that.</p>
  
  <p>I have always thought that a pivot table is just a table that is between two tables (Relation many to many)</p>
  
  <p>But then I started this research and It happened to be not that, but something like different architecture of normal table, where rows are columns. It's changed.</p>
  
  <p>But then Laravel's got pivot tables too. Started reading the documentation and doing research.Maybe I read wrong, but it looks like just pivot table in laravel - table in between two tables, many-to-many.</p>
  
  <p>Searching elsewhere but can't find proper information about it.</p>
  
  <p>Okay, so be it. Laravel's pivot just many to many!</p>
  
  <p>Then I started project and Today I went to the point that making this in-between table as pivot drived me to an Issue, I had a problem with that... minutes and hours... couldn't fix that.</p>
  
  <p>Model was <code>class Room_Student extends Pivot</code></p>
  
  <p>And what was the fix? Just changing it to <code>class Room_Student extends Model</code>.</p>
  
  <p>I don't think I understand pivot tables anymore and are they different types of pivots? Laravel's pivots are different?</p>
  
  <p>So my question is, what pivot tables really are? + Laravel's pivot tables. Are they different? What is this about?</p>
  
  <p>Please help me understand this.</p>