diff --git a/public_html/index.php b/public_html/index.php index 158e49a..b142e61 100644 --- a/public_html/index.php +++ b/public_html/index.php @@ -192,10 +192,10 @@ try { $runner = new \App\Core\MigrationRunner($db, $migrationsDir); if ($runner->hasPendingMigrations()) { $pending = $runner->listPendingMigrations(); - $msg = 'Database schema is out of date. Pending migrations: ' . implode(', ', $pending) . '. Run: php scripts/migrate.php up'; + $msg = 'Database schema is out of date. There are pending migrations. Run "php scripts/migrate.php up" or use the Admin tools'; // Log and show as a system message $logObject->log('warning', $msg, ['scope' => 'system']); - Feedback::flash('SYSTEM', 'MIGRATIONS_PENDING', $msg, false, true); + Feedback::flash('SYSTEM', 'MIGRATIONS_PENDING', $msg, false, true, false); } } } catch (\Throwable $e) {