Pterodactyl-Panel/database/Factories/WebauthnKeyFactory.php
2021-09-19 11:24:33 -07:00

25 lines
465 B
PHP

<?php
namespace Database\Factories;
use Pterodactyl\Models\SecurityKey;
use Illuminate\Database\Eloquent\Factories\Factory;
class WebauthnKeyFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*/
protected $model = SecurityKey::class;
/**
* Define the model's default state.
*/
public function definition(): array
{
return [
'name' => $this->faker->name,
];
}
}