Replace emoji/Unicode characters with ASCII in migration commands

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-10-21 06:45:05 +00:00
parent d531c69c17
commit 9d44fcff55
8 changed files with 94 additions and 94 deletions

View File

@@ -22,7 +22,7 @@ class Migrate_Status_Command extends Command
// Check if in migration mode
if (!file_exists($this->flag_file)) {
$this->info(' No migration session in progress');
$this->info('[OK] No migration session in progress');
$this->info('');
if ($environment !== 'production') {
@@ -41,7 +41,7 @@ class Migrate_Status_Command extends Command
$started_at = $session_info['started_at'] ?? 'unknown';
$started_by = $session_info['started_by'] ?? 'unknown';
$this->warn('🔄 Migration session is ACTIVE');
$this->warn(' Migration session is ACTIVE');
$this->info('');
$this->line('Session Details:');
$this->line(' Started at: ' . $started_at);
@@ -51,9 +51,9 @@ class Migrate_Status_Command extends Command
if (is_dir($this->backup_dir)) {
$backup_size = $this->get_directory_size($this->backup_dir);
$this->line(' Backup size: ' . $this->format_bytes($backup_size));
$this->info(' Backup status: Available');
$this->info(' Backup status: [OK] Available');
} else {
$this->error(' Backup status: Missing!');
$this->error(' Backup status: [ERROR] Missing!');
}
$this->info('');
@@ -67,7 +67,7 @@ class Migrate_Status_Command extends Command
$this->line('Database Status:');
try {
DB::select('SELECT 1');
$this->info(' Connection: Active');
$this->info(' Connection: [OK] Active');
// Show pending migrations count
$pending = $this->get_pending_migrations_count();
@@ -78,12 +78,12 @@ class Migrate_Status_Command extends Command
}
} catch (\Exception $e) {
$this->error(' Connection: Failed');
$this->error(' Connection: [ERROR] Failed');
$this->error(' Error: ' . $e->getMessage());
}
$this->info('');
$this->warn('⚠️ Web UI is disabled during migration mode (development only)');
$this->warn('[WARNING] Web UI is disabled during migration mode (development only)');
return 0;
}