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: 34debcc24c5a
|
||||
---
|
||||
@@ -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