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
{{ message }}
Repository navigation
Commit d62cb8a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/reference/database-schemas.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -506,7 +506,7 @@ Do not lower the version while relative registry rows remain. A schema 8 build i
506
506
507
507
### Example: state schema 7 to 6
508
508
509
-
Schema 7 removed the retired shared commitments table. A schema 6 build still requires that canonical table, so a manual downgrade must recreate its exact empty schema before lowering the version.
509
+
Schema 7 irreversibly discarded every row in the retired shared commitments table, then removed the table and its indexes. A schema 6 build still requires that canonical table, so a manual downgrade can recreate only its exact empty schema before lowering the version. Restore a verified pre-upgrade backup if the discarded rows are required.
510
510
511
511
Run equivalent SQL against the global state database after inspecting the exact schema that wrote it:
512
512
@@ -570,7 +570,7 @@ WHERE meta_key = 'primary';
570
570
COMMIT;
571
571
```
572
572
573
-
The recreated table starts empty because schema 7 discarded the retired rows. A botched downgrade means restore from the verified backup.
573
+
The recreated table starts empty. The downgrade cannot recover discarded commitment rows.
0 commit comments