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