Skip to content

Commit

Permalink
Docs: Fix "create migration" command for predefined pages (#2995)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarnutsch authored Jan 7, 2025
1 parent 5ba64aa commit bf7429d
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit bf7429d

Please sign in to comment.