Friday, January 24, 2025
1 change · saas-18.1
Enhancements to existing features
Upgrades will now keep existing database indexes when they have no recorded comment, instead of dropping and recreating them. This helps preserve customer-specific index changes and reduces unnecessary database work during upgrades.
Original PR description
Description of the issue/feature this PR addresses: When upgrading, the team would like to keep existing modified indexes. Therefore, we will not re-create indexes that already exist and have no comments. We create the index only when the comment does not match or when the index does not exist. Current behavior before PR: If there is no comment, drop and re-create the index during the upgrade. Desired behavior after PR is merged: Keep the indexes during the upgrade. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr