File/program/modules/althing/install/althing_tabledefs.php

Description

/program/modules/althing/install/althing_tabledefs.php - data definition for module

A total of 4 tables are defined:

althings - 1 record per althing, tied to a node; contains main configuration althing_posts - 0, 1 or more records containing visitor comments to this althing althing_relations - 0, 1 or more records store the parent-child relations between posts althing_log_messages - 0, 1 or more moderator messages/log messages

The tables 'althings' and 'althing_posts' and have straightforward 1-to-N relations. The 'althing_relations' table stores the connections between messages. This requires a separate table because of the special feature of an althing that allows for a reply to more than one post at the same time. We need to keep track of the multiple parents in a convenient way. The table 'althing_log_messages' keeps track of all moderation events with structured descriptions and optional moderator remarks.

Documentation generated on Tue, 28 Jun 2016 19:08:19 +0200 by phpDocumentor 1.4.0