Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Specify the relationships of the Lifer tables in the database
Hi
How do I specify when installing liferay, define table relationships at database level?
How do I specify when installing liferay, define table relationships at database level?
ali yeganeh:
If you refer to Liferay's own tables: You don't. You're just ensuring that Liferay can create them but otherwise stay out of them. Completely. They're not yours and you have no business changing anything about their structure, relationships, content or storage.
How do I specify when installing liferay, define table relationships at database level?
Olaf Kock:
I need ERD to understand liferay betterali yeganeh:If you refer to Liferay's own tables: You don't. You're just ensuring that Liferay can create them but otherwise stay out of them. Completely. They're not yours and you have no business changing anything about their structure, relationships, content or storage.
How do I specify when installing liferay, define table relationships at database level?
What is your suggestion to get ERD?
There is no ERD.
Liferay just has plain tables. All the logic ("foreign keys" and relationships) are in the Liferay code. So, looking into the Liferay table structure is very seldom helpful to understand how things are connected.
Liferay just has plain tables. All the logic ("foreign keys" and relationships) are in the Liferay code. So, looking into the Liferay table structure is very seldom helpful to understand how things are connected.
Thanks dear friend
ali yeganeh:
You don't need an ER diagram to understand Liferay better. There are plenty of other ways that don't make you assume you know the storage structure of the data.
I need ERD to understand liferay better
What is your suggestion to get ERD?
I don't have any suggestions for getting an ERD (quite the opposite: I have the strong suggestion to run the other direction if you ever see one). I'd have a couple of suggestions to understand Liferay better though. You could start with Liferay University (or Passport, the flat rate offer for the same content). The documentation is another one, not to mention following these forums and trying out a lot yourself.
Thanks for your guidance
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™