From 5f6f5c929b25ab3ba83fccf3a7b01c4bd13d60f4 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 21 Apr 2020 12:41:27 -0500 Subject: [PATCH] add model --- database/factories/UserFactory.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index 0e28020b..c8887002 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -2,11 +2,19 @@ namespace Database\Factories; +use App\User; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; class UserFactory extends Factory { + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = User::class; + /** * Define the model's default state. *