Call to undefined method Illuminate\Database\Query\Builder::getAuthIdentifierName() code example
Example: Call to undefined method Illuminate\Database\Query\Builder::getAuthIdentifierName()
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable