Database Navigation

Administration tools ::: tool_navdb
Maintained by Ferran Recio Calderó
Database Navigation (tool_navdb) is a database browsing plugin for Moodle. This plugin is designed especially for Moodle's DB structure and adds some practical tools. Some improvements are virtual foreign keys links, and contextual dropdown menus depending on the table, bookmarked table list and an interactive SQL filter editor.

Database Navigation 0.1.0

Moodle 3.5, 3.6, 3.7
Released: Lun, 19 Eost 2019, 6:35 PM

tool_navdb

Admin plugin for navigating Moodle database

Database Navigation (tool_navdb) is a database browsing plugin for Moodle. This plugin is designed especially for Moodle's DB structure and adds some practical tools.

One of the main limitations of Moodle DB structure is that there are no foreign keys. With tool_navdb the first things you'll notice is that, when a DB table content is shown, some fields have hyperlinks to navigate between tables like a standard foreign key. Some examples of this kind of auto-links are:

  • userid goes to a specific entry in mdl_course table
  • courseid goes to mdl_user
  • contextid goes to mdl_context
  • instance ids in tables like mdl_course_modules and mdl_context goes directly to related table
  • etc.

The same happens with the visualisation of fields that Moodle uses in a non standard ways. The plugin add some extra information when you move a mouse over some elements. For example: * timestamps stored as integer instead of a proper date format show a human date * contextlevel shows a human readable format * roleid show a role shortname

Futhermore, some tables like mdl_user, mdl_course, mdl_course_modules... has a dropdown menu on every record entry with useful options for that specific row. Some examples of these are: * mdl_user entry: login as, view profile, delete user, go to user's mdl_role_assignments DB records... * mdl_course: view course, settings, delete course, go to mdl_role_assignments for this course DB records...

Dynamic table list

Assisted SQL filter generator

Smart record visualisation

Version information

Version build number
2019081201
Version release name
0.1.0
Maturity
Alpha
MD5 Sum
c30e2cc29a4b670c423ebd6a4eed25dd
Supported software
Moodle 3.5, Moodle 3.6, Moodle 3.7

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Administration tools

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "mytool") in the "admin/tool" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation