fix: mongo db backup

This commit is contained in:
Andras Bacsai
2024-04-28 11:17:20 +02:00
parent b71f1a79c8
commit 3976b57100
7 changed files with 7 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ class BackupFailed extends Notification implements ShouldQueue
public $tries = 1;
public string $name;
public string $database_name;
public ?string $database_name = null;
public string $frequency;
public function __construct(ScheduledDatabaseBackup $backup, public $database, public $output)

View File

@@ -14,7 +14,7 @@ class BackupSuccess extends Notification implements ShouldQueue
public $tries = 1;
public string $name;
public string $database_name;
public ?string $database_name = null;
public string $frequency;
public function __construct(ScheduledDatabaseBackup $backup, public $database)