fix attendance

This commit is contained in:
root
2026-06-04 20:49:14 -04:00
parent 6fa656bb6c
commit d28d11e2e5
15 changed files with 1101 additions and 44 deletions
+3 -1
View File
@@ -8,6 +8,7 @@ class HealthCheckService
{
public function check(): array
{
$migrationTable = (string) (config('database.migrations.table') ?? 'migrations');
$uploadsBase = storage_path('app/uploads');
$paths = [
'uploads' => $uploadsBase,
@@ -30,7 +31,8 @@ class HealthCheckService
$dbChecks = [
'user_preferences_exists' => Schema::hasTable('user_preferences'),
'settings_exists' => Schema::hasTable('settings'),
'migrations_exists' => Schema::hasTable('migrations'),
'migrations_exists' => Schema::hasTable($migrationTable),
'migrations_table' => $migrationTable,
];
$dbChecks['user_preferences_has_timezone'] = $dbChecks['user_preferences_exists']