*/ class SocialAccountFactory extends Factory { protected $model = \BookStack\Access\SocialAccount::class; /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'user_id' => User::factory(), 'driver' => 'github', 'driver_id' => '123456', 'avatar' => '', ]; } }