Skip to content

Update post migration to drop column only if it exists

Aakriti Gupta requested to merge ag-ag-fix-migration-master into master

What does this MR do and why?

This MR updates a post migration so that columns are dropped only when they exist.

Without this change, upgrades from 16.4 to 16.5 are failing on migrations, please see original report here: #429017 (closed)

The patch for 16.5 is here: !134867 (merged)

Update migration to drop column only if it exists

Changelog: other

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports