mikro-orm-v6-to-v7
CommunityMigrate MikroORM v6 to v7 without runtime pain.
Authorwenerme
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you upgrade MikroORM from v6 to v7 by resolving the most common breaking changes that cause runtime and TypeScript errors, especially around packages, APIs, decorators, entities, and SQLite/Edge/Bun compatibility.
Core Features & Use Cases
- Package and import path migration: Replace
@mikro-orm/knexwith@mikro-orm/sql, and switch decorator imports to@mikro-orm/decorators/legacy(or ES spec /defineEntity). - API transformation guidance: Update removed/renamed methods like
persistAndFlush,removeAndFlush,nativeInsert, schema accessors, and QueryBuilder execution behavior. - Entity definition strategy selection: Choose between
defineEntity(recommended), legacy decorators (for minimal changes), or ES spec decorators, with guidance for common pitfalls. - SQLite runtime adaptation: Configure MikroORM for Edge/Bun/node:sqlite using
SqliteDriverand Kysely dialects, and address blob behavior differences and known issues. - Default behavior checks and debugging: Diagnose issues like timezone handling (
forceUtcTimezone), transaction behavior, schema diffs, and decorator compilation errors.
Quick Start
Upgrade your project from MikroORM v6 to v7 and fix errors by following the migration steps for dependencies, imports, API changes, entity definitions, and SQLite/Edge runtime requirements.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mikro-orm-v6-to-v7 Download link: https://github.com/wenerme/ai/archive/main.zip#mikro-orm-v6-to-v7 Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.