Skip to content

Commit 82bbd63

Browse files
committed
update docs
1 parent 5d46711 commit 82bbd63

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

docs/backend/reference/pk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: 主键
33
---
44

5-
我们在 fba 中为数据库主键添加了两种选择,分别为传统模式(自增 ID)和雪花算法(雪花 ID),==我们在全局范围内(包括插件)使用自增
5+
我们在 fba 中为数据库主键添加了两种选择,分别为传统模式(自增 ID)和雪花算法(雪花 ID),==我们在全局范围内使用自增
66
ID 作为主键的默认声明方式=={.note}
77

88
在切换主键声明方式之前,让我们先来简单了解一下它们的特性,再决定是否需要切换

docs/backend/summary/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ fba 仅适用于资深 Python 后端开发人员,如果您是非资深用户
114114
```
115115

116116
7. 按需修改配置文件 `backend/core/conf.py``.env`
117-
8. 创建数据库表 <Badge type="warning" text="三选一" />
117+
8. 创建数据库表 <Badge type="warning" text="二选一" />
118118

119119
::: tabs
120120
@tab 自动创建

docs/plugin/install.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ title: 快速开始
3838

3939
::::
4040

41+
::: warning
42+
任意方式安装插件后,在重启 fba 服务前,务必检查插件内的 sqlalchemy model
43+
文件(如果存在)中的主键模式是否与你当前正在使用的主键模式相匹配,参考:[切换主键](../backend/reference/pk.md)
44+
:::
45+
4146
::: caution
4247
无论采用哪种安装方式,fba 服务都不会实时热重载,您必须重新启动,插件功能才能被正确加载到 FastAPI 应用中
4348

0 commit comments

Comments
 (0)