Database structure of Lino Algus

This document describes the database structure.

This page contains code snippets (lines starting with >>>), which are being tested during our development workflow. The following snippet initializes the demo project used throughout this page.

>>> from lino_algus.projects.algus1.startup import *
>>> from lino.utils.diag import analyzer
>>> analyzer.show_db_overview()
...
9 plugins: lino, about, jinja, react, system, users, algus, staticfiles, sessions.
4 models:
===================== ====================== ========= =======
 Name                  Default table          #fields   #rows
--------------------- ---------------------- --------- -------
 sessions.Session      users.Sessions         3         ...
 system.SiteConfig     system.SiteConfigs     4         1
 users.Authorization   users.Authorizations   3         0
 users.User            users.Users            24        3
===================== ====================== ========= =======