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:
Leo Vasanko
2026-01-28 20:23:00 +00:00
parent 5ec50be922
commit 89d0a12a6f
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)