From ac25dbbf15d5e78ab6d39f6420bedca9356d824d Mon Sep 17 00:00:00 2001 From: Kevin Porten Date: Thu, 9 Mar 2023 19:55:16 +0100 Subject: [PATCH] fix(docs): replace non-existing migrate command --- docs/pages/docs/guides/database-migration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pages/docs/guides/database-migration.md b/docs/pages/docs/guides/database-migration.md index 938eb330782..90782486092 100644 --- a/docs/pages/docs/guides/database-migration.md +++ b/docs/pages/docs/guides/database-migration.md @@ -24,7 +24,7 @@ Running `keystone dev --no-db-push` will return GraphQL runtime errors if tables ## Keystone Prisma Migrate CLI Keystone offers the following three commonly used commands through Prisma to help manage your migrations. -- `keystone prisma migrate generate` - Generates the migration files to run to set up your production database - these files should be committed to source control and accessible by the `deploy` step. This command is helpful if you want to either leave `keystone dev` as the default behaviour for rapid schema iteration and generate the migrations once you are ready to submit a PR. +- `keystone prisma migrate dev` - Generates the migration files to run to set up your production database - these files should be committed to source control and accessible by the `deploy` step. This command is helpful if you want to either leave `keystone dev` as the default behaviour for rapid schema iteration and generate the migrations once you are ready to submit a PR. - `keystone prisma migrate deploy` - Runs the generated migrations - this command can only be run after a `build` step, and is generally run in the deploy step of your app or before running `keystone start`. - `keystone start --with-migrations` - Runs the generated migrations then starts Keystone. ## Prisma CLI @@ -47,4 +47,4 @@ heading="Command Line Guide" href="/docs/guides/cli" %} Learn how to use Keystone's command line interface (CLI) to develop, build, and deploy your Keystone projects. {% /well %} -{% /related-content %} \ No newline at end of file +{% /related-content %}