Prevent preloading deployment associations with legacy approach
What does this MR do and why?
Prevent preloading last_deployment/last_visible_deployment/upcoming_deployment associations in Environment model with legacy approach as they return wrong data when preloading for multiple environments.
For context see !83558 (comment 895662565)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #369240 (closed)
Edited by Bala Kumar