modify readme

This commit is contained in:
TooonyChen committed 2024-10-08 21:11:16 +13:00
1 parent a5980b293a
commit d1a512899d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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