fix attendance
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user