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