mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
docs(guide): describe both library save modes in database.md and architecture.md (#580)
Closes #578. Rewrites the user file library save-mode description in the English database.md and architecture.md guides (independent-new by default, parent-linked on overwrite) and updates all 20 translated copies of each, with i18n_source_hash re-stamped so the parity gate stays green.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: "SnapOtter 的 PostgreSQL 数据库架构、表、迁移和备份流程。"
|
||||
i18n_source_hash: b37398ae91a3
|
||||
i18n_source_hash: 50d5d4f220cf
|
||||
i18n_provenance: human
|
||||
i18n_output_hash: 3289d2d06514
|
||||
---
|
||||
@@ -77,7 +77,7 @@ SnapOtter 使用 PostgreSQL 17 配合 [Drizzle ORM](https://orm.drizzle.team/)
|
||||
|
||||
### user_files {#user-files}
|
||||
|
||||
带版本链跟踪的持久化文件库。每个保存结果的处理步骤都会创建一个新行,并通过 `parentId` 链接到其父行,从而形成一棵版本树。
|
||||
持久化文件库。默认情况下,保存的编辑会作为一个独立的根行插入(“保存为新文件”:`version` 为 1、`parentId` 为 null,因此原文件仍会保留在列表中);而当你覆盖原文件时,则作为一个与父行链接的版本(设置 `parentId`、递增 `version`,并取代原文件)。`toolChain` 列记录所应用的工具。
|
||||
|
||||
| 列 | 类型 | 描述 |
|
||||
|--------|------|-------------|
|
||||
|
||||
Reference in New Issue
Block a user