Add count checks for MySQL and MariaDB in isEmpty() method
This commit is contained in:
parent
8b8e534598
commit
1326fcb345
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user