Skip to content

Only execute validation if the field has been created

Rubén Dávila requested to merge ce-36422-mysql-migration-error-on-upgrade into master

What does this MR do?

Executes a validation only if the related DB column exists.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Some users are having issues with migrations when they try to upgrade.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/36422

Merge request reports