Moodle 4.0 DB Schema

Moodle 4.0 DB Schema

Karishma Tiwari -
回帖数:5

Dear all,

where can I download the Moodle 4.0 DB Schema?
I did a google and even searched the below URL, I cant find it.

https://docs.moodle.org/dev/Database_Schema


Thanks!

回复Karishma Tiwari

Re: Moodle 4.0 DB Schema

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
I'm guessing that nobody has done the work yet. Moodle was first developed a long time ago and the schema has grown - there's no "official" version.
回复Howard Miller

Re: Moodle 4.0 DB Schema

Marcus Green -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
The worlds most comprehensive* detailed and in-depth Moodle 4.0 schema documentation. Contains information not written to the database during installation and additional information not included in the source.
https://www.examulator.com/er/output/index.html

Scroll down for diagrams of relationships. I should probably update the wiki page that was referred to, as it is not obvious that the update for 4.0 has been created.

(*also possibly the only)
回复Marcus Green

Re: Moodle 4.0 DB Schema

Karishma Tiwari -
Thanks, I did find this URL but couldnt find the DB schema.
THen I went to relationships, and as you mentioned, scrolled down, got it!



回复Karishma Tiwari

Re: Moodle 4.0 DB Schema

Marcus Green -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
I think I need some notes to tell people to scroll down as i suspect most people miss the diagrams, and the diagrams are probably my favourite bits.Glad you found it.
回复Marcus Green

Re: Moodle 4.0 DB Schema

Karishma Tiwari -

I agree indeed.

Because as long as you are at the top part, there is no indication that there is anything below.