Database Schema
From MoodleDocs
The files available here are in DBDesigner4 format. DBDesigner4 is a schema drawing program released under GPL.
The database schemas have been put together by Alberto Giampani and Dario Toledo. We are also discussing a means of creating them automatically from the new XMLDB definitions with an XML transform.
Discussion of the database schemas happens either in the forum of the relevant module, or in the Databases forum.