You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/website/documentation/storage.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,3 +38,25 @@ If you are upgrading from an older version of massCode that used SQLite storage,
38
38
- Select your old `massCode.db` file
39
39
40
40
massCode converts your folders and snippets to Markdown Vault format.
41
+
42
+
## Migration from v3 `db.json`
43
+
44
+
massCode v5 does not read `db.json` directly. If you are upgrading from massCode v3, first migrate the v3 JSON database through massCode v4, then migrate from v4 to v5.
45
+
46
+
The supported upgrade path is:
47
+
48
+
```text
49
+
v3 db.json -> v4 massCode.db -> v5 Markdown Vault
50
+
```
51
+
52
+
Before upgrading, make a backup copy of your existing `db.json`.
53
+
54
+
To migrate from v3:
55
+
56
+
- Install and open [massCode v4.7.1](https://github.com/massCodeIO/massCode/releases/tag/v4.7.1)
57
+
- Confirm that your snippets are visible in v4
58
+
- Confirm that v4 created a `massCode.db` file
59
+
- Install and open massCode v5
60
+
- Import the `massCode.db` file into Markdown Vault from **Settings -> Storage**
61
+
62
+
If you still have only `db.json`, massCode v5 cannot import it on its own. Restore your `db.json` backup and complete the v4 migration step first.
0 commit comments