Database structure of Lino LETS

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_lets.projects.letsdemo.settings.doctests')
>>> from lino.api.doctest import *
>>> from lino.utils.diag import analyzer
>>> print(analyzer.show_db_overview())
... 
14 apps: lino, staticfiles, about, jinja, bootstrap3, extjs, printing, system, users, market, lets, export_excel, appypod, sessions.
9 models:
=================== ======================= ========= =======
 Name                Default table           #fields   #rows
------------------- ----------------------- --------- -------
 market.Category     market.Categories       2         2
 market.Demand       market.Demands          3         3
 market.Offer        market.Offers           7         8
 market.Place        market.Places           2         4
 market.Product      market.Products         4         6
 sessions.Session    sessions.SessionTable   3         0
 system.SiteConfig   system.SiteConfigs      3         0
 users.Authority     users.Authorities       3         0
 users.User          users.AllUsers          17        9
=================== ======================= ========= =======