There are a lot of relations, but most are not visible in the database.
for an understanding of the relations you need to understand the TCA of TYPO3 which defines the kind of relation, which is handled in the datahandler and which is shown in the formhandler which enables the editors to manage relations.
there are some relations which exists for (nearly) every record in TYPO3:
Each record has some fields with basic relations:
pid
= parent/page Id = the page (table: pages
) where a record is stored
even pages are stored in pages and so a tree is build (similar to folders on your disk)
uid
= unique ID = unique identification of a record and which is the reference for relations to this record
If you have activated versioning
or language support
you get further fields as they identify variants of that record and contain a reference to the original
(relations to the same table)
These fields mostly are single valued which enables it to store just an int.
but also there are m:n-relations. in older versions those were stored in a string with comma separated ints, but today they mostly are stored in a mm-table which builds the connection between two different records.
For identification in those records remains an int field which holds the count of relations.
in this way the diagram of the core tables (which are more than 40) and their relations would be very large.
regarding the tables you mentioned:
pages
builds the elemetary page tree
tt_content
contains the basic content visible on the website
(be_? = BackEnd-?, fe_? = FrontEnd-?)
be_users
holds the data about editors working with TYPO3 (there is a right management which user can access which kind of information in TYPO), there also is logging and each record contains a (relation) field which be_user created it.
The access-rights can be stored in the be_users
record, but mostly they are stored in be_groups
which are related to be_users
and so the be_user inherited all the rights from the be_groups.
In the same way there exist a pair for the frontend: fe_users
fe_groups
. The fe_groups
can be assigned to records and so the visibility in front end can be controlled (only logged in members of that group can see the information)
In this way there are relations from fe_groups
to pages
and tt_content
. more lines in your diagram of those few tables.
ALTER TABLE ...CREATE CONSTRAINT ....FOREIGN KEY ... REFERENCES ....
. Therefore your reverse-engineering tool did not find any relations, or "lines to draw".