Skip to content

Commit 4fd9f67

Browse files
committed
update docs
1 parent cebafe6 commit 4fd9f67

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/backend/reference/db.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ DATABASE_PASSWORD='123456'
7373

7474
## 解耦
7575

76-
如果你只想保留一种数据库,请参考以下内容进行解耦
76+
如果你只想保留一种数据库,参考如下
7777

7878
- 删除 `with_variant` 相关代码(如果存在),仅保留数据库对应的类型
7979
- 删除 `backend/core/conf.py` 文件中的 `DATABASE_TYPE` 及其相关的调用代码

docs/backend/reference/pk.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ title: 主键
7171

7272
1. 务必仔细查看本章节警告内容,确保数据库环境整洁
7373
2. 更新 `backend/core/conf.py` 中的 `DATABASE_PK_MODE` 配置为 `snowflake`
74-
3. 执行 `backend/sql/xxx/init_snowflake_test_data.sql` 脚本初始化测试数据
75-
4. 阅读 [注意事项](#注意事项)
74+
3. 阅读 [注意事项](#注意事项)
7675

7776
::: caution Windows 平台警告
7877
如果您正在 Windows 平台中使用 mysql >= 8.0,还需要更新 `backend/database/db.py` 文件内的 `mysql+asyncmy`

0 commit comments

Comments
 (0)