title: Laravel - BadMethodCallException Call to undefined method App\User::getAuthIdentifierName()
body: <p>I know this question has been asked many times, but none of the answers given helped. In part, because most of the answers say to do what is already done. Every page gives the error: "BadMethodCallException Call to undefined method App\User::getAuthIdentifierName()".</p>
  
  <p>Here's what happened. Authentication was working good. Then I did a fresh migration:</p>
  
  <pre><code>php artisan migrate:fresh --seed
  </code></pre>
  
  <p>After that, the error comes up.</p>
  
  <p>Here's my App/User Model code:</p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Notifications\Notifiable;
  use Illuminate\Foundation\Auth\User as Authenticatable;
  use Illuminate\Contracts\Auth\MustVerifyEmail;
  use jeremykenedy\LaravelRoles\Traits\HasRoleAndPermission;
  use Illuminate\Database\Eloquent\SoftDeletes;
  
  class User extends Authenticatable implements MustVerifyEmail
  // class User extends Authenticatable
  {
      use SoftDeletes;
      use Notifiable;
      use HasRoleAndPermission;
  
      protected $dates = ['deleted_at'];
  
      /**
       * The attributes that are mass assignable.
       *
       * @var array
       */
      protected $fillable = [
          'name', 'email', 'password',
      ];
  
      /**
       * The attributes that should be hidden for arrays.
       *
       * @var array
       */
      protected $hidden = [
          'password', 'remember_token',
      ];
  
      /**
       * The attributes that should be cast to native types.
       *
       * @var array
       */
      protected $casts = [
          'email_verified_at' =&gt; 'datetime',
      ];
  }
  </code></pre>
  
  <p>I've tried running <code>php artisan ui vue --auth</code> and putting in "yes" the all the overwrite questions, but that did not work.</p>
  
  <p>Any assistance as to what else could be causing this would be much appreciated.</p>
  
  <p><strong>EDIT:</strong> Just FYI the only thing I changed to re-migrate was a couple Seeding files.</p>