Blogs
The long missing ER diagram

If you're following Liferay's Forums, Slack, and other locations where questions regarding Liferay Portal and Liferay DXP are asked and answered, you'll find that there's one question coming up over and over again. It's about Liferay's internal database's Entity Relationship diagram, to understand the database structure and content.
Typically this is asked for because individuals would like to manually import data, change table structures, update certain content directly.
I've now given up on the arguments and created such a diagram. Before I tell you where to get it: Let me remind you for the second-to-last time that changing Liferay's internal data is a galactially bad idea. The database should be a closed box for you - it's not yours, and you have no business changing it. Many people who changed data manually wish they hadn't. Thus several of us highly active forum-posters strictly recommend not even trying to understand the database.
Instead of thinking in SQL terms, you should think in API terms. Liferay provides a comprehensive API that you can use to interact with all the content that's stored in the database. No component in Liferay itself (apart from the actual persistence layer) manipulates the database directly: Everything utilizes the API.
Liferay's internal database has no foreign key relationships, and uses manual counters - because this is the technique that's guaranteed to work across the full range of supported databases (and always was). Liferay is not using fancy vendor specific options - or those that used to be vendor specific a while ago. This gives you the flexibility of running it on the infrastructure of your choice.
In the past, changing Liferay's internal database, inserting / updating data through SQL, has led to problems - and these problems often don't manifest right away, but only after months. For example during your next upgrade, or when suddenly there are unexpected duplicate primary keys (because API-inserted objects now use keys that manually imported data used in the past).
The only way you should insert or manipulate data should be the API.
That being said - I've went through the trouble of generating an ER diagram poster for Liferay DXP and CE 7.2 (Format A1 landscape, approximately 84*59 cm or 33*23 inch) that you can print and hang in your Liferay team's workspace. It will help you with those manual changes that your team thinks they really need to make.
Once you've acknowledged the warnings above and still really really want to have the database documentation: Download the poster here. You have been warned. I hope that this article and poster simplifies future slack&forum answers, now that I can point to this article.