2023-08-10 13:52:54 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Seeders;
|
|
|
|
|
|
|
|
use App\Models\ScheduledDatabaseBackupExecution;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
|
|
|
class ScheduledDatabaseBackupExecutionSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the database seeds.
|
|
|
|
*/
|
|
|
|
public function run(): void
|
|
|
|
{
|
2023-08-21 18:19:47 +00:00
|
|
|
// ScheduledDatabaseBackupExecution::create([
|
|
|
|
// 'status' => 'success',
|
|
|
|
// 'message' => 'Backup created successfully.',
|
|
|
|
// 'size' => '10243467789556',
|
|
|
|
// 'scheduled_database_backup_id' => 1,
|
|
|
|
// ]);
|
|
|
|
// ScheduledDatabaseBackupExecution::create([
|
|
|
|
// 'status' => 'failed',
|
|
|
|
// 'message' => 'Backup failed.',
|
|
|
|
// 'size' => '10243456',
|
|
|
|
// 'scheduled_database_backup_id' => 1,
|
|
|
|
// ]);
|
2023-08-10 13:52:54 +00:00
|
|
|
}
|
|
|
|
}
|