Database structure of Lino Seggi¶
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.api import startup
>>> startup('lino_seggi.projects.seggi1.settings')
>>> from lino.api.doctest import *
>>> from lino.utils.diag import analyzer
>>> analyzer.show_db_overview()
...
27 plugins: lino, about, jinja, react, seats, system, users, summaries, contenttypes, gfks, office, linod, checkdata, memo, notify, groups, xl, countries, languages, cv, lists, friends, seggi, comments, dashboard, staticfiles, sessions.
36 models:
============================== =============================== ========= =======
Name Default table #fields #rows
------------------------------ ------------------------------- --------- -------
checkdata.Message checkdata.Messages 6 0
comments.Comment comments.Comments 13 468
comments.CommentType comments.CommentTypes 3 0
comments.Reaction comments.Reactions 6 0
contenttypes.ContentType gfks.ContentTypes 3 36
countries.Country countries.Countries 5 10
countries.Place countries.Places 8 80
cv.Duration cv.Durations 3 5
cv.EducationLevel cv.EducationLevels 6 5
cv.Experience cv.Experiences 18 0
cv.Function cv.Functions 5 0
cv.LanguageKnowledge cv.LanguageKnowledges 10 0
cv.Regime cv.Regimes 3 3
cv.Sector cv.Sectors 4 0
cv.Status cv.Statuses 3 7
cv.Study cv.Studies 15 0
cv.StudyType cv.StudyTypes 6 11
cv.Training cv.Trainings 17 0
dashboard.Widget dashboard.Widgets 5 0
friends.Request friends.Requests 5 243
groups.Group groups.Groups 6 2
groups.Membership groups.Memberships 4 44
languages.Language languages.Languages 4 6
linod.SystemTask linod.SystemTasks 25 5
lists.List lists.Lists 9 8
lists.Member lists.Members 5 39
lists.SubscribeToListRequest lists.SubscribeToListRequests 11 0
memo.Mention memo.Mentions 5 188
notify.Message notify.Messages 12 9946
seats.Board seats.Boards 7 2
seats.Tenure seats.Tenures 8 16
seats.Vote seats.Votes 6 44
sessions.Session users.Sessions 3 1
system.SiteConfig system.SiteConfigs 4 1
users.Authorization users.Authorizations 3 0
users.User users.Users 46 39
============================== =============================== ========= =======