# Command: `mongo:ensure-indexes`

**Description**: Ensure MongoDB indexes exist for optimal query performance
**Status**: completed
**Started**: 2026-08-28 12:17:59 | **Ended**: 2026-08-28 12:17:59 | **Duration**: 0s
**Jobs**: 0 dispatched / 0 completed / 0 failed

---

## Command Output

12:17:59 [INFO] Lock acquired for command: mongo:ensure-indexes

12:17:59 [INFO] 🔍 Ensuring MongoDB indexes exist...

12:17:59 [INFO] 📊 Processing WebsiteSeoData collection...

12:17:59 [INFO] ✅ Index already exists: idx\_domain\_date\_desc (domain\_name ASC, date DESC)

12:17:59 [INFO] 🤖 Processing HermesInstance collection...

12:17:59 [INFO] ✅ Created index: hermes\_profile\_name\_unique

12:17:59 [INFO] ✅ Created index: hermes\_host\_port\_unique

12:17:59 [INFO] ✅ Created index: hermes\_user\_id\_unique\_sparse

12:17:59 [INFO] ✅ Created index: hermes\_status\_enabled

12:17:59 [INFO] 📋 Processing Job collection...

12:17:59 [INFO] ✅ Index already exists: command\_id\_status

12:17:59 [INFO] ✅ Index already exists: job\_class

12:17:59 [INFO] 📡 Processing Command collection...

12:17:59 [INFO] ✅ Index already exists: name\_idx

12:17:59 [INFO] 🔐 Processing WpLoginCode collection...

12:17:59 [INFO] ✅ Created index: wp\_login\_code\_hash\_unique

12:17:59 [INFO] ✅ Created index: wp\_login\_code\_expires\_ttl

12:17:59 [INFO] ✅ All indexes have been ensured!

12:17:59 [INFO] Lock released for mongo:ensure-indexes

---

## Jobs (0)

*No jobs dispatched*

*Exported at 2026-09-21T16:21:42+00:00*
