516-frameworks-micronaut-mongodb-migrations-mongock
Installation
SKILL.md
Micronaut - MongoDB migrations (Mongock)
Apply Mongock migration guidelines for Micronaut and Micronaut Data MongoDB.
What is covered in this Skill?
- Mongock runner/driver selection for Micronaut projects
- Micronaut bean wiring for MongoDB client access and controlled migration execution
- Code-first
@ChangeUnitmigrations with@Executionand rollback hooks - Locking, idempotency, transaction limits, and startup/runtime trade-offs
- Integration tests with
@MicronautTestand Testcontainers MongoDB - Coordination with
@515-frameworks-micronaut-mongodb
Scope: Apply recommendations based on the reference rules and good/bad examples.
Constraints
Compile before Mongock or MongoDB migration changes; verify after changes.