Framework updates
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -25,14 +25,13 @@ class CheckMigrationMode
|
||||
$started_at = $session_info['started_at'] ?? 'unknown';
|
||||
|
||||
// Create a detailed error message
|
||||
$message = "🚧 Database Migration in Progress\n\n";
|
||||
$message .= "A database migration session is currently active.\n";
|
||||
$message = "Database Migration in Progress\n\n";
|
||||
$message .= "A database migration is currently running.\n";
|
||||
$message .= "Started at: {$started_at}\n\n";
|
||||
$message .= "The application is temporarily unavailable to ensure data integrity.\n\n";
|
||||
$message .= "To complete the migration session, run one of these commands:\n";
|
||||
$message .= " • php artisan migrate:commit - Keep the changes\n";
|
||||
$message .= " • php artisan migrate:rollback - Revert to snapshot\n\n";
|
||||
$message .= "For status: php artisan migrate:status";
|
||||
$message .= "Please wait for the migration to complete.\n";
|
||||
$message .= "If this message persists, the migration may have been interrupted.\n";
|
||||
$message .= "Check the terminal running 'php artisan migrate' for status.";
|
||||
|
||||
// Throw service unavailable exception
|
||||
throw new ServiceUnavailableHttpException(
|
||||
|
||||
Reference in New Issue
Block a user