title: Populating a database in a Laravel migration file
body: <p>I'm just learning Laravel, and have a working migration file creating a users table. I am trying to populate a user record as part of the migration:</p>
  <pre><code>public function up()
  {
      Schema::create('users', function($table){
  
          $table-&gt;increments('id');
          $table-&gt;string('email', 255);
          $table-&gt;string('password', 64);
          $table-&gt;boolean('verified');
          $table-&gt;string('token', 255);
          $table-&gt;timestamps();
  
          DB::table('users')-&gt;insert(
              array(
                  'email' =&gt; `name@domain.example`,
                  'verified' =&gt; true
              )
          );
  
      });
  }
  </code></pre>
  <p>But I'm getting the following error when running <code>php artisan migrate</code>:</p>
  <pre><code>SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vantage.users' doesn't exist
  </code></pre>
  <p>This is obviously because Artisan hasn't yet created the table, but all the documentation seems to say that there is a way of using Fluent Query to populate data as part of a migration.</p>
  <p>Anyone know how?</p>