title: Laravel QueryException in Connection.php line 651: SQLSTATE[42S02]: Base table or view not found
body: <p>I'm new to Laravel and have an error.
  When I try to check my page, I get this error: </p>
  
  <p><code>QueryException in Connection.php line 651:
  SQLSTATE[42S02]: Base table or view not found: 1146 Table "scotchbox.likes" doesn't exist (SQL: select "users".*, "users"."name", "projects"."title" from "likes" inner join "users" on "user_id" = "users"."id" inner join "projects" on "project_id" = "projects"."id")</code></p>
  
  <p>This is my migration:</p>
  
  <pre><code>&lt;?php
  
  use Illuminate\Database\Schema\Blueprint;
  use Illuminate\Database\Migrations\Migration;
  
  class CreateLikesTable extends Migration
  {
      /**
       * Run the migrations.
       *
       * @return void
       */
      public function up()
      {
          Schema::create('likes', function(Blueprint $table){
              $table-&gt;increments('id');
              $table-&gt;integer('project_id');
              $table-&gt;integer('user_id');
              $table-&gt;softDeletes();
              $table-&gt;timestamps();
          });
      }
  
      /**
       * Reverse the migrations.
       *
       * @return void
       */
      public function down()
      {
          Schema::drop('likes');
      }
  }
  </code></pre>
  
  <p>And my function:</p>
  
  <pre><code>public function activity()
  {
      $likes = DB::table('likes')
          -&gt;join('users', 'user_id', '=', 'users.id')
          -&gt;join('projects', 'project_id', '=', 'projects.id')
          -&gt;select('users.*', 'users.name', 'projects.title')
          -&gt;get();
  
      return view('user.activity', ['likes' =&gt; $likes]);
  }
  </code></pre>
  
  <p>I already rolled back my migrations, refreshed them,... But it doesn't help...</p>
  
  <p>Can anyone help me out?</p>