title: Seed multiple rows at once laravel 5
body: <p>I'm currently trying to seed my users table. If I try it like this with 2 rows, it fails. It works fine if I just use a single array instead of the 2 arrays inside the $users array to create some fake data.</p>
  
  <p>What am I doing wrong, what is the proper way to do this?</p>
  
  <pre><code>class UserTableSeeder extends Seeder {
  
      public function run()
      {
          DB::table('users')-&gt;delete();
  
          $users = [
              ['id' =&gt; 1, 'name' =&gt; 'Stephan de Vries', 'username' =&gt; 'stephan', 'email' =&gt; 'stephan-v@gmail.com', 'password' =&gt; bcrypt('carrotz124')],
              ['id' =&gt; 2, 'name' =&gt; 'John doe', 'username' =&gt; 'johnny', 'email' =&gt; 'johndoe@gmail.com', 'password' =&gt; bcrypt('carrotz1243')],
          ];
  
          User::create($users);
      }
  
  }
  </code></pre>
  
  <hr>