title: MassAssignmentException in Laravel
body: <p>I am a Laravel newbie. I want to seed my database. When I run the seed command I get an exception</p>
  
  <pre><code>  [Illuminate\Database\Eloquent\MassAssignmentException]
    username
  
  
  
  db:seed [--class[="..."]] [--database[="..."]]
  </code></pre>
  
  <p>What am I doing wrong. The command I use is:</p>
  
  <pre><code>php artisan db:seed --class="UsersTableSeeder"
  </code></pre>
  
  <p>My seed class is as follows:</p>
  
  <pre><code>class UsersTableSeeder extends Seeder {
      public function run()
      {
              User::truncate();
              User::create([
                  'username' =&gt; 'PaulSheer',
                  'email' =&gt; 'psheer@rute.co.za',
                  'password' =&gt; '45678'
              ]);
  
              User::create([
                  'username' =&gt; 'Stevo',
                  'email' =&gt; 'steve@rute.co.za',
                  'password' =&gt; '45678'
              ]);
      }
  }
  </code></pre>