title: the use statement with non-compound name 'Auth' has no effect laravel
body: <p>I am unable to use Auth in my seeder class. I need to get tenant_id variable for my saas application. Here's my seeder class.</p>
  
  <pre><code>use Illuminate\Database\Seeder;
  use App\AccountType;
  use Auth;
  
  class AccountTypeTableSeeder extends Seeder{
  
  public function run()
  {
  
      $accountType = new AccountType;
      $accountType-&gt;name = 'Travel Agent';
      $accountType-&gt;description = 'It is the description of the Travel Agent, so you write in detaisl about the account type.';
      $accountType-&gt;tenant_id = Auth::user()-&gt;tenant_id;
      $accountType-&gt;save();
  
  
  }
  </code></pre>
  
  <p>}</p>
  
  <p>And i called</p>
  
  <pre><code>$this-&gt;call(AccountTypeTableSeeder::class);
  </code></pre>