File tree 7 files changed +22
-9
lines changed
7 files changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,12 @@ public function __construct($backup)
66
66
public function handle (): void
67
67
{
68
68
try {
69
- $ this ->team = Team::findOrFail ($ this ->backup ->team_id );
69
+ $ this ->team = Team::find ($ this ->backup ->team_id );
70
+ if (! $ this ->team ) {
71
+ $ this ->backup ->delete ();
72
+
73
+ return ;
74
+ }
70
75
if (data_get ($ this ->backup , 'database_type ' ) === 'App\Models\ServiceDatabase ' ) {
71
76
$ this ->database = data_get ($ this ->backup , 'database ' );
72
77
$ this ->server = $ this ->database ->service ->server ;
Original file line number Diff line number Diff line change @@ -112,4 +112,9 @@ public function getFilesFromServer(bool $isInit = false)
112
112
{
113
113
getFilesystemVolumesFromServer ($ this , $ isInit );
114
114
}
115
+
116
+ public function isBackupSolutionAvailable ()
117
+ {
118
+ return false ;
119
+ }
115
120
}
Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ public function isBackupSolutionAvailable()
120
120
{
121
121
return str ($ this ->databaseType ())->contains ('mysql ' ) ||
122
122
str ($ this ->databaseType ())->contains ('postgres ' ) ||
123
+ str ($ this ->databaseType ())->contains ('postgis ' ) ||
123
124
str ($ this ->databaseType ())->contains ('mariadb ' ) ||
124
125
str ($ this ->databaseType ())->contains ('mongodb ' );
125
126
}
Original file line number Diff line number Diff line change 20
20
const DATABASE_DOCKER_IMAGES = [
21
21
'bitnami/mariadb ' ,
22
22
'bitnami/mongodb ' ,
23
- 'bitnami/mysql ' ,
24
- 'bitnami/postgresql ' ,
25
23
'bitnami/redis ' ,
26
24
'mysql ' ,
25
+ 'bitnami/mysql ' ,
26
+ 'mysql/mysql-server ' ,
27
27
'mariadb ' ,
28
+ 'postgis/postgis ' ,
28
29
'postgres ' ,
30
+ 'bitnami/postgresql ' ,
31
+ 'supabase/postgres ' ,
32
+ 'elestio/postgres ' ,
29
33
'mongo ' ,
30
34
'redis ' ,
31
35
'memcached ' ,
32
36
'couchdb ' ,
33
37
'neo4j ' ,
34
38
'influxdb ' ,
35
39
'clickhouse/clickhouse-server ' ,
36
- 'supabase/postgres ' ,
37
- 'elestio/postgres ' ,
38
40
];
39
41
const SPECIFIC_SERVICES = [
40
42
'quay.io/minio/minio ' ,
Original file line number Diff line number Diff line change 7
7
8
8
// The release version of your application
9
9
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
10
- 'release ' => '4.0.0-beta.351 ' ,
10
+ 'release ' => '4.0.0-beta.352 ' ,
11
11
// When left empty or `null` the Laravel environment will be used
12
12
'environment ' => config ('app.env ' ),
13
13
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- return '4.0.0-beta.351 ' ;
3
+ return '4.0.0-beta.352 ' ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"coolify" : {
3
3
"v4" : {
4
- "version" : " 4.0.0-beta.351 "
4
+ "version" : " 4.0.0-beta.352 "
5
5
},
6
6
"nightly" : {
7
- "version" : " 4.0.0-beta.352 "
7
+ "version" : " 4.0.0-beta.353 "
8
8
},
9
9
"helper" : {
10
10
"version" : " 1.0.1"
You can’t perform that action at this time.
0 commit comments