Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Fix "create migration" command for predefined pages #2995

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/documents/predefined-pages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The following files should be copied:

#### Creation of the migration

Execute the command `npm --prefix api run mikro-orm:migration:generate` to create a migration for the new entity.
Execute the command `npx --prefix api mikro-orm migration:create` to create a migration for the new entity.
Ensure the database is running (`npx dev-pm start docker`).
The created migration should look like this:

Expand Down
Loading