Command Info

Name: mongo:ensure-indexes

Description: Ensure MongoDB indexes exist for optimal query performance

Status: completed

Start Time: 2026-08-28 12:17:59

End Time: 2026-08-28 12:17:59

Total Time: 0 seconds

Dispatched Jobs Count: 0

Successful Jobs Count: 0

Failed Jobs Count: 0

Output

12:17:59 Lock acquired for command: mongo:ensure-indexes
12:17:59 🔍 Ensuring MongoDB indexes exist...
12:17:59 📊 Processing WebsiteSeoData collection...
12:17:59 ✅ Index already exists: idx_domain_date_desc (domain_name ASC, date DESC)
12:17:59 🤖 Processing HermesInstance collection...
12:17:59 ✅ Created index: hermes_profile_name_unique
12:17:59 ✅ Created index: hermes_host_port_unique
12:17:59 ✅ Created index: hermes_user_id_unique_sparse
12:17:59 ✅ Created index: hermes_status_enabled
12:17:59 📋 Processing Job collection...
12:17:59 ✅ Index already exists: command_id_status
12:17:59 ✅ Index already exists: job_class
12:17:59 📡 Processing Command collection...
12:17:59 ✅ Index already exists: name_idx
12:17:59 🔐 Processing WpLoginCode collection...
12:17:59 ✅ Created index: wp_login_code_hash_unique
12:17:59 ✅ Created index: wp_login_code_expires_ttl
12:17:59 ✅ All indexes have been ensured!
12:17:59 Lock released for mongo:ensure-indexes