From d0b1b87aae6d11b017a6f7d192eea10cd76f110c Mon Sep 17 00:00:00 2001 From: Nikolas Date: Wed, 27 Mar 2024 16:06:17 +0100 Subject: [PATCH] Update content/200-orm/200-prisma-client/500-deployment/301-edge/450-deploy-to-cloudflare.mdx --- .../500-deployment/301-edge/450-deploy-to-cloudflare.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/200-orm/200-prisma-client/500-deployment/301-edge/450-deploy-to-cloudflare.mdx b/content/200-orm/200-prisma-client/500-deployment/301-edge/450-deploy-to-cloudflare.mdx index 8a2d0dcb7c..488b90c75c 100644 --- a/content/200-orm/200-prisma-client/500-deployment/301-edge/450-deploy-to-cloudflare.mdx +++ b/content/200-orm/200-prisma-client/500-deployment/301-edge/450-deploy-to-cloudflare.mdx @@ -639,10 +639,10 @@ In this tutorial, you'll do both: test the Worker locally _and_ deploy it afterw ```terminal # For the local database -npx wrangler d1 execute prisma-demo-db --file=migrations/0001_create_user_table.sql --local +npx wrangler d1 migrations apply --local # For the remote database -npx wrangler d1 execute prisma-demo-db --file=migrations/0001_create_user_table.sql --remote +npx wrangler d1 migrations apply --remote ``` Let's also create some dummy data that we can query once the Worker is running. This time, you'll run the SQL statement without storing it in a file: