mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 04:14:59 +00:00
Add count checks for MySQL and MariaDB in isEmpty() method
This commit is contained in:
1 parent
8b8e534598
commit
1326fcb345
1 file changed
+2
@@ -13,6 +13,8 @@ class Environment extends Model
|
||||
return $this->applications()->count() == 0 &&
|
||||
$this->redis()->count() == 0 &&
|
||||
$this->postgresqls()->count() == 0 &&
|
||||
$this->mysqls()->count() == 0 &&
|
||||
$this->mariadbs()->count() == 0 &&
|
||||
$this->mongodbs()->count() == 0 &&
|
||||
$this->services()->count() == 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user