refactor: shorten model and table prefixes

This commit is contained in:
2026-07-23 14:30:17 +08:00
parent 6e7be2f3a4
commit 0ca2898ac0
71 changed files with 707 additions and 638 deletions

View File

@@ -240,7 +240,7 @@ AI provider 请求必须先经过限流和密钥选择,随后记录 provider
## 8. 数据与配置
- 保留 `senlin_agent_` 表名前缀和 `SenlinAgent` 模型前缀。
- 保留 `sa_` 表名前缀和 `Sa` 模型前缀。
- 本地开发数据允许清空后通过 `go run ./cmd/seed` 重建。
- 代码不得在启动时自动 drop 表或删除生产数据。
- Docker Compose、`agent.dev.yaml` 和 README 使用一致的 PostgreSQL 用户、密码、数据库名和端口。