mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
database backups
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Enums\BackupStatus;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class BackupFactory extends Factory
|
||||
@ -9,7 +10,10 @@ class BackupFactory extends Factory
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
'type' => 'database',
|
||||
'interval' => '0 * * * *',
|
||||
'keep_backups' => 10,
|
||||
'status' => BackupStatus::RUNNING
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user