Database structure of Lino Algus

This document describes the database structure.

A tested document

This is a tested document. The following instructions are used for initialization:

>>> import lino
>>> lino.startup('lino_algus.projects.algus1.settings.doctests')
>>> from lino.api.doctest import *
>>> from lino.utils.diag import analyzer
>>> print(analyzer.show_db_overview())
... 
13 apps: lino, staticfiles, about, jinja, printing, system, contenttypes, gfks, memo, react, users, algus, sessions.
6 models:
========================== ==================== ========= =======
 Name                       Default table        #fields   #rows
-------------------------- -------------------- --------- -------
 contenttypes.ContentType   gfks.ContentTypes    3         6
 gfks.HelpText              gfks.HelpTexts       4         1
 sessions.Session           users.Sessions       3         1
 system.SiteConfig          system.SiteConfigs   3         0
 users.Authority            users.Authorities    3         0
 users.User                 users.AllUsers       18        3
========================== ==================== ========= =======