title: There is no role named `admin`. laravel
body: <p>i use this package : </p>
  
  <blockquote>
    <p><a href="https://github.com/spatie/laravel-permission/tree/v2" rel="nofollow noreferrer">https://github.com/spatie/laravel-permission/tree/v2</a></p>
  </blockquote>
  
  <p>code :</p>
  
  <pre><code>     $user=User::find(2);
      $user-&gt;assignRole('admin');
  </code></pre>
  
  <p>and when i assign admin role to user  I'm dealing with this error</p>
  
  <blockquote>
    <p>There is no role named <code>admin</code>.Spatie\Permission\Exceptions\RoleDoesNotExist</p>
  </blockquote>
  
  <p>this is my default guard in auth.php :</p>
  
  <pre><code>    &lt;?php
  
  return [
  
      'defaults' =&gt; [
          'guard' =&gt; 'api',
          'passwords' =&gt; 'users',
      ],
  
  
      'guards' =&gt; [
          'web' =&gt; [
              'driver' =&gt; 'session',
              'provider' =&gt; 'users',
          ],
  
          'api' =&gt; [
              'driver' =&gt; 'token',
              'provider' =&gt; 'users',
              'hash' =&gt; false,
          ],
      ],
  </code></pre>
  
  <p>this is my roles table : </p>
  
  <p><a href="https://i.stack.imgur.com/QRa83.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QRa83.png" alt="enter image description here"></a></p>
  
  <p>this is my role_has_permission table </p>
  
  <p><a href="https://i.stack.imgur.com/KJD9a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KJD9a.png" alt="enter image description here"></a></p>
  
  <p>and this is my permission table :</p>
  
  <p><a href="https://i.stack.imgur.com/6eiSs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6eiSs.png" alt="enter image description here"></a></p>