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 $tries = 1;
public string $name; public string $name;
public string $database_name; public ?string $database_name = null;
public string $frequency; public string $frequency;
public function __construct(ScheduledDatabaseBackup $backup, public $database, public $output) 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 $tries = 1;
public string $name; public string $name;
public string $database_name; public ?string $database_name = null;
public string $frequency; public string $frequency;
public function __construct(ScheduledDatabaseBackup $backup, public $database) public function __construct(ScheduledDatabaseBackup $backup, public $database)

View File

@ -7,7 +7,7 @@
// The release version of your application // The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.269', 'release' => '4.0.0-beta.270',
// When left empty or `null` the Laravel environment will be used // When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'), 'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php <?php
return '4.0.0-beta.269'; return '4.0.0-beta.270';

View File

@ -1,5 +1,5 @@
<x-emails.layout> <x-emails.layout>
Database backup for {{ $name }} (db:{{$database_name}}) with frequency of {{ $frequency }} was FAILED. Database backup for {{ $name }} @if($database_name)(db:{{ $database_name }})@endif with frequency of {{ $frequency }} was FAILED.
### Reason ### Reason

View File

@ -1,3 +1,3 @@
<x-emails.layout> <x-emails.layout>
Database backup for {{ $name }} (db:{{ $database_name }}) with frequency of {{ $frequency }} was successful. Database backup for {{ $name }} @if($database_name)(db:{{ $database_name }})@endif with frequency of {{ $frequency }} was successful.
</x-emails.layout> </x-emails.layout>

View File

@ -1,7 +1,7 @@
{ {
"coolify": { "coolify": {
"v4": { "v4": {
"version": "4.0.0-beta.269" "version": "4.0.0-beta.270"
} }
} }
} }