title: Using Laravel schema builder and migrations
body: <p>I am new to Laravel PHP framework. I am confused with how Laravel schema builder and migrations work. I created two tables using Laravel migrations. Below are my two tables:</p>
  
  <pre><code>public function up()
      {
          Schema::create('hotels', function(Blueprint $table)
          {
              $table-&gt;increments('id');
              $table-&gt;integer('hotel_id');
              $table-&gt;string('name');
              $table-&gt;string('address')-&gt;nullable();
              $table-&gt;string('city')-&gt;nullable();
              $table-&gt;string('province')-&gt;nullable();
              $table-&gt;string('country')-&gt;nullable();
              $table-&gt;timestamps();
          });
      }
  </code></pre>
  
  <p>This is my other table:</p>
  
  <pre><code>public function up()
      {
          Schema::create('rooms', function(Blueprint $table)
          {
              $table-&gt;increments('id');
              $table-&gt;integer('hotel_id');
              $table-&gt;string('name');
              $table-&gt;timestamps();
          });
      }
  </code></pre>
  
  <p>My question is how can can I make relations with two tables using Foreign keys? If I have to use Schema Builder where do I have to put the schema file? </p>