mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-22 03:02:20 +00:00
25 lines
491 B
PHP
Executable File
25 lines
491 B
PHP
Executable File
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\DatabaseUser;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<\App\Models\DatabaseUser>
|
|
*/
|
|
class DatabaseUserFactory extends Factory
|
|
{
|
|
protected $model = DatabaseUser::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'username' => $this->faker->userName,
|
|
'password' => 'password',
|
|
'databases' => [],
|
|
'host' => '%',
|
|
];
|
|
}
|
|
}
|