Site icon LMS Daily

Moodle 4.0 database schema now available

Moodle 4.0 database schema now available

Moodle 4.0 database schema now available

Moodle 4.0 is the latest version release of the world’s most popular open source LMS. The latest Major release includes a plethora of new features which are focused on improving the User Experience. Marcus Green – Author of the Moodle Gapfill and WordSelect question types recently posted the full documentation and diagrams for the Moodle 4.0.2+ database structure.

The documentation and diagrams also known as ERD diagrams covers all tables and relationships and additional implied PK/FK relationships.

An Entity Relationship (ER) Diagram is a type of flowchart that illustrates how “entities” such as people, objects or concepts relate to each other within a system. ER Diagrams are most often used to design or debug relational databases in the fields of software engineering, business information systems, education and research.

The current ER diagrams information is generated from the Moodle database schema as contained in the Moodle install.xml files. A standard Moodle install discards all field comments and foreign key relationships.

Marcus has been working on the first versions of this documentation since early 2004. He has also a compilation of old versions ER diagrams. You can check out the older versions archive here.

FREE 2026 MOODLE GUIDE
Get More From Moodle
In Less Time
Download Start Teaching with Moodle in 15 Minutes, a practical 2026 guide to help you build, improve and manage a better Moodle learning experience.
Inside the guide:
Build your first Moodle course with confidence
Discover powerful Moodle features you may be missing
Improve the learner experience with simple quick wins
Avoid common Moodle administration mistakes
Understand how AI is becoming part of Moodle
Plan Moodle upgrades, security and maintenance properly
Where Should I Send Your Guide?
Enter your details below and we’ll send it straight to your inbox.
By downloading the guide, you'll also receive occasional practical Moodle LMS insights from LMSDaily.
You can unsubscribe at any time.

Thank You
Your Moodle Guide Is On Its Way!

We’ve sent a secure download link to your inbox.
It should arrive within a couple of minutes.

Exit mobile version