Closed bramley closed 6 months ago
Removed a few more upgrade steps that apply to databases prior to 3.2.0. If someone upgrades a very old database then they have to go to 3.2.0 first, and that version's upgrade will apply these changes. Databases after 3.2.0 will not have the problems.
Reviewed the code, didn't test, but looks fine
This pull request has been mentioned on phpList Discuss. There might be relevant details there:
https://discuss.phplist.org/t/3-6-15-release-candidate-is-available-for-testing/9473/1
This pull request has been mentioned on phpList Discuss. There might be relevant details there:
https://discuss.phplist.org/t/phplist-3-6-15-has-been-released/9495/1
Description
The upgrade process rejects an attempt to upgrade when the current version is earlier than 3.2.0. phplist moved to using UTF-8 before 3.2.0 so any database that is being upgraded is already UTF-8. The step to convert the tables again looks to be unnecessary.
Also, a group of table changes are commented as applying after 2.11.7, so those too can be removed as they have already been included in the database structure.
Also, to avoid any confusion, issue the message about assigning UUIDs only when there are some to assign.
Related Issue
Screenshots (if appropriate):