title: Is it possible to migrate migrations without an order? (If not, how can I fix this)
body: <p>Best way for me to describe my problem and it's go-to solution would be this link;</p>
  
  <p><a href="https://stackoverflow.com/a/45820046/8277770">StackOverflow</a></p>
  
  <p>My problem is exactly this, and the solution actually is working, but not in my case, either I will have an alternative solution for mine, or I'm doing something wrong with my schema builder and I need to understand it better.</p>
  
  <p>My code is basically like this:</p>
  
  <pre><code>//just an example, not my code
  
  Schema A (as)
  
  //other code, such as table-&gt;increments('id')
  
  $table-&gt;unsignedInteger('b_id');
  $table-&gt;unsignedInteger('c_id');
  
  $table-&gt;foreign('b_id')-&gt;references('id')-&gt;on('bs'); 
  $table-&gt;foreign('c_id')-&gt;references('id')-&gt;on('cs');
  
  
  Schema B (bs)
  
  $table-&gt;unsignedInteger('a_id');
  $table-&gt;unsignedInteger('c_id');
  
  $table-&gt;foreign('a_id')-&gt;references('id')-&gt;on('as'); 
  $table-&gt;foreign('c_id')-&gt;references('id')-&gt;on('cs');
  
  
  Schema C (cs)
  
  $table-&gt;unsignedInteger('a_id');
  $table-&gt;unsignedInteger('b_id');
  
  $table-&gt;foreign('a_id')-&gt;references('id')-&gt;on('as'); 
  $table-&gt;foreign('b_id')-&gt;references('id')-&gt;on('bs');
  </code></pre>
  
  <p>So neither order helps me with this solution. </p>
  
  <p>Is there a solution to my case, or my code/schema logic is wrong and I need to modify my code?</p>