modify readme
This commit is contained in:
1 parent
1c0e3929cc
commit
a5980b293a
2 files changed
+4
-2
No files matched your search
@@ -148,7 +148,8 @@ If there is no code, clickable link, or this is an advertisement email, return:
|
||||
When you execute the [Wrangler](https://developers.cloudflare.com/workers/wrangler/get-started/) login command for the first time, you will be prompted to log in. Just follow the prompts.
|
||||
|
||||
```bash
|
||||
npx wrangler d1 execute inbox-d1 --local --file=./db/schema.sql # creating a d1 database called 'inbox-d1'
|
||||
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
|
||||
```
|
||||
you will get the result like this:
|
||||
```bash
|
||||
|
||||
+2
-1
@@ -146,7 +146,8 @@ If there is no code, clickable link, or this is an advertisement email, return:
|
||||
当你第一次执行 [Wrangler](https://developers.cloudflare.com/workers/wrangler/get-started/) 登录命令时,系统会提示你登录。按提示操作即可。
|
||||
|
||||
```bash
|
||||
npx wrangler d1 execute inbox-d1 --local --file=./db/schema.sql # 创建名为 'inbox-d1' 的 d1 数据库
|
||||
npx wrangler d1 create inbox-d1 # 创建名为 'inbox-d1' 的 d1 数据库
|
||||
npx wrangler d1 execute inbox-d1 --local --file=./db/schema.sql # 执行 schema.sql 文件
|
||||
```
|
||||
你将会看到如下结果:
|
||||
```bash
|
||||
|
||||
Reference in new issue
Block a user