mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 07:22:34 +00:00
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
24 lines
452 B
PHP
24 lines
452 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Enums\BackupStatus;
|
|
use App\Models\Backup;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<Backup>
|
|
*/
|
|
class BackupFactory extends Factory
|
|
{
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'type' => 'database',
|
|
'interval' => '0 * * * *',
|
|
'keep_backups' => 10,
|
|
'status' => BackupStatus::RUNNING,
|
|
];
|
|
}
|
|
}
|