mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
26 lines
509 B
PHP
Executable File
26 lines
509 B
PHP
Executable File
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\DatabaseUser;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<DatabaseUser>
|
|
*/
|
|
class DatabaseUserFactory extends Factory
|
|
{
|
|
protected $model = DatabaseUser::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'server_id' => 1,
|
|
'username' => $this->faker->userName,
|
|
'password' => 'password',
|
|
'databases' => [],
|
|
'host' => '%',
|
|
];
|
|
}
|
|
}
|