MDL-69049 tool_dataprivacy: Add possibly missing comment format columns
commit3484f3e4b52d55553e1e8000372bcddc635fc5c1
authorJun Pataleta <jun@moodle.com>
Mon, 15 Jun 2020 14:47:22 +0000 (15 22:47 +0800)
committerJun Pataleta <jun@moodle.com>
Tue, 16 Jun 2020 01:25:03 +0000 (16 09:25 +0800)
tree02f4101f34e632730dfb3e08a9641d5839e1bd8e
parenta51797cc0e40ed341779e0db827c68e95f2bdc42
MDL-69049 tool_dataprivacy: Add possibly missing comment format columns

The earlier CONTRIB plugin versions of the tool (<33.2.0, <34.2.0) were
missing the following columns in the data requests table:
* commentsformat
* dpocommentformat
And the upgrade scripts for the merged tool failed in
Moodle 3.3.8+/3.3.0+ failed to add these columns.
So a site which uses the CONTRIB plugin and eventually upgrading to 3.9
will encounter an error during upgrade because of the missing
dpocommentformat column.
admin/tool/dataprivacy/db/upgrade.php
admin/tool/dataprivacy/version.php