All apps/MikroORM

MikroORM

mikro-orm

TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns.

Runs as mikro-orm|macOS, Linux, Windows|mikro-orm.io

Autocomplete

Fig spec, with what the manifest adds · 18 subcommands · 2 options
Published once and never changed; check the digest before caching
sha256
03d792837d2430e3485782db3d0c93dda567618d9a1ec0af3529efc481b1b2ae
Size
9090 bytes
Subcommands18 subcommands
mikro-orm cache:clear
Clear metadata cache
mikro-orm cache:generate
Generate metadata cache for production
mikro-orm generate-entities
Generate entities based on current database schema
mikro-orm database:create
Create your database if it does not exist
mikro-orm database:import
Imports the SQL file to the database
mikro-orm seeder:run
Seed the database using the seeder class
mikro-orm seeder:create
Create a new seeder class
mikro-orm schema:create
Create database schema based on current metadata
mikro-orm schema:drop
Drop database schema based on current metadata
mikro-orm schema:update
Update database schema based on current metadata
mikro-orm schema:fresh
Drop and recreate database schema based on current metadata
mikro-orm migration:create
Create new migration with current schema diff
mikro-orm migration:up
Migrate up to the latest version
mikro-orm migration:down
Migrate one step down
mikro-orm migration:list
List all executed migrations
mikro-orm migration:pending
List all pending migrations
mikro-orm migration:fresh
Clear the database and rerun all migrations
mikro-orm debug
Debug CLI configuration
OptionsOn mikro-orm itself
-v--version
Show version number
-h--help
Show help