Files
vito/database/factories/SshKeyFactory.php
Saeed Vaziry 131b828807 Plugins base (#613)
* wip

* wip

* cleanup

* notification channels

* phpstan

* services

* remove server types

* refactoring

* refactoring
2025-06-14 14:35:18 +02:00

24 lines
431 B
PHP

<?php
namespace Database\Factories;
use App\Models\SshKey;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<SshKey>
*/
class SshKeyFactory extends Factory
{
protected $model = SshKey::class;
public function definition(): array
{
return [
'user_id' => 1,
'name' => $this->faker->name(),
'public_key' => 'public-key-content',
];
}
}