Database Changes After Adding Liferay Page

Created: 20 December 2024  Modified:

What data changes occur when adding a Page to the Types of Rocks site. Pages in liferay are correllated to layouts in the database. This information was added by administrator user Test Test with email test@test.com. Keep in mind that Liferay doesn’t enforce referential integrity in the database. Instead it is “enforced” in the code.

Many tables have columns classNameId and classPK. These act as a psuedo foreign key to the ClassName_ table. The ClassName_ table basically references Java classes. These Java classes have associated database tables. ClassPK contains an identifier that references a row in the table. This seems to be used to add levels of abstraction for second order relationships. In the diagram these columns are referred to as Psuedo Foreign Keys (PFK).

The following table was modified but appears not to be strongly relevant.

Tables that were changed after adding the Page “Types of Rocks”. This page was added to the “All About Rocks” site with GroupId 32925.

Diagram is only showing the relationships most relevant.

Changed Data Tables
Changed Data Tables

Resources

tags: java - liferay ce - liferay - ce - mariadb - fedora - 41 - fedora 41 - linux - page - 7.4
   Less Is More