diff --git a/app/Utils/SystemHealth.php b/app/Utils/SystemHealth.php index 74c6c8344e5c..429503c4f8c7 100644 --- a/app/Utils/SystemHealth.php +++ b/app/Utils/SystemHealth.php @@ -89,7 +89,7 @@ class SystemHealth 'exchange_rate_api_not_configured' => (bool)self::checkCurrencySanity(), 'api_version' => (string) config('ninja.app_version'), 'is_docker' => (bool) config('ninja.is_docker'), - 'pending_migrations' => self::checkPendingMigrations(), + 'pending_migrations' => (bool) ($check_file_system ? self::checkPendingMigrations() : false), ]; }