fix: mongo db backup
This commit is contained in:
parent
b71f1a79c8
commit
3976b57100
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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'),
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return '4.0.0-beta.269';
|
return '4.0.0-beta.270';
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"coolify": {
|
"coolify": {
|
||||||
"v4": {
|
"v4": {
|
||||||
"version": "4.0.0-beta.269"
|
"version": "4.0.0-beta.270"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user