lmscloud-io/mdlcode-docs

Report problems when reserved words are used as table/column/index names

Closed this issue · 1 comments

Moodle does not warn anybody when a reserved word is used as a column/table/index name. It is easy for a plugin developer to miss it because the word used for a column name may seem perfectly fine and work in their database but it will throw exception if somebody uses this plugin in another db.

It should be easy for MDLCode to parse the getReservedWords() functions in each db generator and report problems if any of these words are used in install.xml

This is implemented in 1.0.33 - released today