Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
2.2.2
-
None
-
MOODLE_22_STABLE
-
Description
When you are writing update code in a module/block/course format's 'upgrade.php' and wish to rename a table you can call the function 'rename_table' in '/lib/ddl/database_manager.php', however you cannot rename the associated comment on the table that was defined in the 'install.xml' file. So although you can alter the comment in 'install.xml' for new installations, upgrading installations have the wrong comment in their database to explain what the table is for.
I have stated that this is for 2.2.2 but could be elsewhere too.