From d1a512899dc41a27b706c43565cb6b7f89c8f09d Mon Sep 17 00:00:00 2001 From: TooonyChen <26252739+TooonyChen@users.noreply.github.com> Date: Tue, 8 Oct 2024 21:11:16 +1300 Subject: [PATCH] modify readme --- README.md | 2 +- README_CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c230ba2..7721ab4 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ If there is no code, clickable link, or this is an advertisement email, return: ```bash npx npx wrangler d1 create inbox-d1 # creating a d1 database called 'inbox-d1' - npx wrangler d1 execute inbox-d1 --local --file=./db/schema.sql # write the schema.sql to the database + npx wrangler d1 execute inbox-d1 --remote --file=./db/schema.sql # write the schema.sql to the database ``` you will get the result like this: ```bash diff --git a/README_CN.md b/README_CN.md index 7a7b93e..c5e1bc6 100644 --- a/README_CN.md +++ b/README_CN.md @@ -147,7 +147,7 @@ If there is no code, clickable link, or this is an advertisement email, return: ```bash npx wrangler d1 create inbox-d1 # 创建名为 'inbox-d1' 的 d1 数据库 - npx wrangler d1 execute inbox-d1 --local --file=./db/schema.sql # 执行 schema.sql 文件 + npx wrangler d1 execute inbox-d1 --remote --file=./db/schema.sql # 执行 schema.sql 文件 ``` 你将会看到如下结果: ```bash