Document the Database scheme
Build LinkLog Development Image / development-image (push) Successful in 24s

This commit is contained in:
2026-09-05 08:05:44 +02:00
parent 495d5c3907
commit 48c60e00a2
4 changed files with 373 additions and 0 deletions
+6
View File
@@ -1535,3 +1535,9 @@ manager, documenting lifecycle hooks, event routing, configuration behavior, and
Mastodon side effects without changing runtime behavior. Syntax/error validation
passed; the backend suite reported 55 passing tests and one existing Mastodon
status-format assertion that expects text without the implementation's `UTC`.
### User
Document the sql schema, include an ERD
### Assistant outcome
Added `DATABASE.md` documenting the current SQLite schema at migration version 17, including tables, columns, constraints, indexes, migration history, and a Mermaid ERD. Linked it from the README and verified the focused database tests with `PYTHONPATH=. pytest backend/tests/test_database.py -q` (1 passed).