From bf7429d9b84cee48299644a40065b4aae1aea06a Mon Sep 17 00:00:00 2001 From: Daniel Karnutsch Date: Tue, 7 Jan 2025 09:35:59 +0100 Subject: [PATCH] Docs: Fix "create migration" command for predefined pages (#2995) --- docs/docs/documents/predefined-pages.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/documents/predefined-pages.mdx b/docs/docs/documents/predefined-pages.mdx index 8d6e6f636a..1b11f400cb 100644 --- a/docs/docs/documents/predefined-pages.mdx +++ b/docs/docs/documents/predefined-pages.mdx @@ -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: