title: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'prj_roocket.permissions' doesn't exist
body: <p>I create a migration </p>
  
  <pre><code>Schema::create('roles', function (Blueprint $table) {
          $table-&gt;increments('id');
          $table-&gt;string('name');
          $table-&gt;string('label')-&gt;nullable();
          $table-&gt;timestamps();
      });
  
      Schema::create('permissions', function (Blueprint $table) {
          $table-&gt;increments('id');
          $table-&gt;string('name');
          $table-&gt;string('label')-&gt;nullable();
          $table-&gt;timestamps();
      });
  
      Schema::create('permission_role', function (Blueprint $table) {
          $table-&gt;integer('role_id')-&gt;unsigned();
          $table-&gt;foreign('role_id')-&gt;references('id')-&gt;on('roles')-&gt;onDelete('cascade');
  
          $table-&gt;integer('permission_id')-&gt;unsigned();
          $table-&gt;foreign('permission_id')-&gt;references('id')-&gt;on('permissions')-&gt;onDelete('cascade');
  
          $table-&gt;primary(['role_id' , 'permission_id']);
      });
  
      Schema::create('role_user', function (Blueprint $table) {
          $table-&gt;integer('role_id')-&gt;unsigned();
          $table-&gt;foreign('role_id')-&gt;references('id')-&gt;on('roles')-&gt;onDelete('cascade');
  
          $table-&gt;integer('user_id')-&gt;unsigned();
          $table-&gt;foreign('user_id')-&gt;references('id')-&gt;on('users')-&gt;onDelete('cascade');
  
          $table-&gt;primary(['role_id' , 'user_id']);
      });
  </code></pre>
  
  <p>Any what I write in CMD <code>php artisan migrate and composer dumpautoload and php artisan serve and...</code> This error is seen. and too I deleted database and I create a new database.</p>
  
  <blockquote>
    <p>[Illuminate\Database\QueryException]
      SQLSTATE[42S02]: Base table or view not found: 1146 Table 'prj_roocket.permissions' doesn't exist (SQL: select * from <code>permissions</code>)</p>
    
    <p>[PDOException]   SQLSTATE[42S02]: Base table or view not found: 1146
    Table 'prj_roocket.permissions' doesn't exist</p>
  </blockquote>