From MoodleDocs


This plugin allow install new tables into DB using xmldb files under developer control. You can choose which install.xml table want to install in place to install all tables and upgrade tables whenever you want. You cannot drop tables was with data. It was created thinking in developers to plugins.


  1. Get last version of plugin in plugin entry.
  2. Unzip it into local/ folder in your Moodle.
  3. Be sure that the final name of the directory is: upgradedb, the full path in your Moodle installation will be local/upgradedb

New fresh features

  1. Analyze and Refresh Indexes in MySQL Tables.
  2. Show Keys and Indexes.
  3. Show XMLFile using xmldbtools.




How to report a bug

Please, use tracker in Local UpgradeDB.

New Proposals

  • Empty tables.
  • Check tables in DB to allow alter columns.

Please for suggestion, use comments in plugin entry.