Implement versioning in metadata, outside of the DB itself. Cleanup to migration handling and changes. Implement new migration step using msgspec normalization.

This commit is contained in:
2026-01-28 20:21:09 +00:00
parent 76921e8b31
commit e88cc004dd
3 changed files with 108 additions and 133 deletions
-1
View File
@@ -377,7 +377,6 @@ class DB(msgspec.Struct, dict=True, omit_defaults=False):
credentials: dict[UUID, Credential] = {}
sessions: dict[str, Session] = {}
reset_tokens: dict[bytes, ResetToken] = {}
v: int = 0
def __post_init__(self):
# Store reference for persistence (not serialized)