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

Command form

ai-draft · 2 tasks · 6 fields

Create migrations and update the schema. Entity generation, seeders and cache commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui mikro-orm

mikro-orm migration:create

Create a migration
Create a migrationExample values, fixed in this page — nothing here reaches a terminal
Basic
Blank migration
--blank
Initial migration
--initial
Dump queries
--dump
TasksEach one presets the form for one job
Create from schema diff
blankinitialdump
ParametersOnly these flags are editable in the form
Blank migration
boolean
--blank-b
Initial migration
boolean
--initial-i
Dump queries
boolean
--dump-d

mikro-orm schema:update

Update the schema
Update the schemaExample values, fixed in this page — nothing here reaches a terminal
Basic
Dump queries set by task
--dump
Safe
--safe
TasksEach one presets the form for one job
Preview SQL
dumpsafe
ParametersOnly these flags are editable in the form
Dump queries
boolean
--dump-d
Run queries
boolean
--run-r
Safe
Disable table and column dropping.
boolean
--safe
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed mikro-orm against its version. A form that does not match your version is not offered.