From 67b889cfcf88854baffc7f07a492a5cec252bbb9 Mon Sep 17 00:00:00 2001 From: Daniel Karnutsch Date: Mon, 23 Dec 2024 17:07:25 +0100 Subject: [PATCH] Docs: Fix "create migration" command for predefined pages As we have removed the mikro-orm scripts with https://github.com/vivid-planet/comet-starter/pull/403, this no longer works for new projects --- 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: