title: Base table or view not found: 1146 Table
body: <p><strong>Error:</strong></p>
  
  <blockquote>
    <p>Illuminate \ Database \ QueryException (42S02)
    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mmictltd.admins' doesn't exist (SQL: select * from <code>admins</code> where <code>email</code> = kayondoronald2015@gmail.com limit 1)</p>
  </blockquote>
  
  <p>My <strong>create_admin_table.php</strong></p>
  
  <pre><code>&lt;?php
  
  use Illuminate\Support\Facades\Schema;
  use Illuminate\Database\Schema\Blueprint;
  use Illuminate\Database\Migrations\Migration;
  
  class CreateAdminTable extends Migration
  {
      /**
       * Run the migrations.
       *
       * @return void
       */
      public function up()
      {
          Schema::create('admin', function (Blueprint $table) {
              $table-&gt;increments('id');
              $table-&gt;string('name');
              $table-&gt;string('email')-&gt;unique();
              $table-&gt;string('password');
              $table-&gt;rememberToken();
              $table-&gt;timestamps();
          });
      }
  
      /**
       * Reverse the migrations.
       *
       * @return void
       */
      public function down()
      {
          Schema::dropIfExists('admin');
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/eYpjQ.png" rel="nofollow noreferrer">Laravel error illustration</a></p>