migrate-mikro-orm

Automate MikroORM v6 to v7 migration with type and API updates.

Updated Apr 24, 2026
One-click install
npx skills add https://github.com/dainamite-technologies/dainamite-core --skill migrate-mikro-orm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-mikro-orm
Source: https://github.com/dainamite-technologies/dainamite-core/tree/main/.ai/skills/migrate-mikro-orm
Command: npx skills add https://github.com/dainamite-technologies/dainamite-core --skill migrate-mikro-orm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mikro-orm, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexity of migrating from MikroORM v6 to v7, providing a structured and automated approach to fixing type errors, updating APIs, and ensuring compatibility.

Core Features & Use Cases

  • Automated Code Conversion: Converts deprecated methods and decorators to their v7 equivalents.
  • Pre-Flight Checks: Identifies files and methods needing attention before migration.
  • ORM Configuration Updates: Guides through ORM configuration changes in v7.
  • Use Case: For developers aiming to upgrade their application from MikroORM v6 to v7 with minimal disruption and downtime.

Quick Start

Use the migrate-mikro-orm skill to automatically update your MikroORM v6 custom module code to be compatible with v7.

Frequently Asked Questions about migrate-mikro-orm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate my application from MikroORM v6 to v7?

Migrating to MikroORM v7 involves converting deprecated methods and decorators to their v7 equivalents, resolving type errors, and updating ORM configuration to ensure application compatibility.

What breaking changes in MikroORM v7 cause type errors during a database upgrade?

MikroORM v7 introduces type errors and deprecated API updates that require converting old decorators and methods to their new v7 equivalents and adjusting ORM configuration.

Can I automatically convert deprecated MikroORM decorators to v7 equivalents?

Yes, you can automate code conversion to directly replace deprecated MikroORM v6 decorators and methods with their correct v7 equivalents, streamlining the upgrade process.

How do I identify files needing updates before upgrading to MikroORM v7?

You can run pre-flight checks to identify specific files and methods requiring attention before starting the MikroORM v7 migration, ensuring minimal disruption and downtime.

Do I need to manually update ORM configuration when upgrading to MikroORM v7?

No, the migration process guides you through necessary ORM configuration changes in v7, but you must have the mikro-orm dependency installed in your environment first.

What is the best way to fix deprecated API updates when upgrading my database ORM?

The best way to fix deprecated API updates is using a structured migration approach that automates code conversion and handles ORM configuration adjustments for the v7 upgrade.