Lesson Version Number

Lesson Version Number

by Mark Nielsen -
Number of replies: 1
I have made several changes to the lesson module and I would like to post it for other people to test and to get some feedback. Although, I also made database changes and I was wondering what changes are needed in the version.php and the mysql.php files in the lesson module in order for moodle to automatically update the database with my changes.

Thanks,
~Mark
Average of ratings: -
In reply to Mark Nielsen

Re: Lesson Version Number

by Ray Kingdon -
Mark, the version number is based on the date. The last two digits are 00 unless you produce more than one version in a day wink

The changes to the database are made in two places. The file mysql.sql gives the complete structure of the (current) tables. The file mysql.php records the incremental changes that each version of the module needs to function. This second file for the lesson module currently contains five incremental changes, just tag on another one to the end. The format is fairly obvious.