mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-06 20:32:55 +08:00
docs: simplify D1 naming guidance (#961)
This commit is contained in:
@@ -42,7 +42,7 @@ wrangler d1 execute temp-email-db --file=db/schema.sql --remote
|
||||
wrangler kv:namespace create DEV
|
||||
```
|
||||
|
||||
Use a project-specific D1 database name such as `temp-email-db` instead of a generic name like `dev`.
|
||||
Use a D1 database name such as `temp-email-db` or `cloudflare-temp-email-prod`.
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ wrangler d1 execute temp-email-db --file=../db/schema.sql --remote
|
||||
```
|
||||
|
||||
> [!tip]
|
||||
> Use a project-specific database name such as `temp-email-db` or `cloudflare-temp-email-prod` so it remains easy to identify later. Avoid generic names like `dev`.
|
||||
> Use a D1 database name such as `temp-email-db` or `cloudflare-temp-email-prod`.
|
||||
|
||||
After creation, you can see the D1 database in the Cloudflare console.
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ wrangler d1 execute temp-email-db --file=../db/schema.sql --remote
|
||||
```
|
||||
|
||||
> [!tip] 命名建议
|
||||
> 数据库名称建议使用和项目相关、方便识别的名字,例如 `temp-email-db`、`cloudflare-temp-email-prod`,不要继续使用过于宽泛的 `dev`。
|
||||
> 数据库名称请使用例如 `temp-email-db`、`cloudflare-temp-email-prod` 这样的名称。
|
||||
|
||||
创建完成后,我们在 cloudflare 的控制台可以看到 D1 数据库
|
||||
|
||||
|
||||
Reference in New Issue
Block a user