mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3253] docs: docs/FILE_STORAGE_MIGRATION.md is out of date - storage table map is missing 19 tables #1749
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1749
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolacheee on GitHub (Jul 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3253
Originally assigned to: @SpicyMarinara on GitHub.
docs/FILE_STORAGE_MIGRATION.mdhas drifted from the shipped app. Found in a full docs-vs-code audit against v2.1.0. Each item below is independently checkable: open the doc at the noted spot and compare against the app or code. These can all land in one PR that refreshes the file.1 item found.
1. ## SQLite Surface Map (lines 63-99) and the "Current v1.5.7 layout" framing in ## File Layout (line 46)
(outdated)
The Surface Map reads as the inventory of what lives in DATA_DIR/storage/tables/, but it lists only 33 table files while the current v2.1.0 file store persists 52 - and it was already incomplete at v1.5.7, whose code had 34 tables (the doc omitted lorebook_folders from day one). Nineteen files a user will actually find on disk are undocumented: lorebook_folders (in v1.5.7 code but never listed); persona_card_versions, lorebook_character_links, lorebook_persona_links, api_connection_folders, game_engine_state, persona_images, gallery_folders, global_images, custom_emojis, custom_stickers, achievement_unlocks, installed_extensions (added between v1.5.8 and v2.0.0); and conversation_call_sessions, conversation_call_messages, conversation_call_sounds, game_scene_videos, game_turn_storyboards, game_turn_storyboard_keyframes (added in 2.0.x-2.1.0). This is the only doc in the repo that maps storage/tables/, so a user relying on it for selective backup/restore, manual inspection, or debugging would miss whole domains: conversation calls, extensions, achievements, gallery/emoji/sticker media, and game video/storyboard state.
Suggested fix: Regenerate the map from the current FILE_BACKED_TABLES list in packages/server/src/db/file-backed-store.ts (add the 19 missing rows with short domain descriptions, e.g. conversation_call_* = voice-call sessions/transcripts/sounds, installed_extensions = cross-device extension storage, achievement_unlocks = achievements, gallery_folders/global_images = gallery, game_scene_videos/game_turn_storyboard* = game media state). Retitle the layout and map headings from "v1.5.7" to "v1.5.7+" or "current", with a one-line note that v1.5.7 introduced the layout and later releases only add new table files under storage/tables/. Add a pointer that the FILE_BACKED_TABLES array in packages/server/src/db/file-backed-store.ts is the authoritative list.
@SpicyMarinara commented on GitHub (Jul 5, 2026):
Addressed in #3289.