Cleanup Deployments table

Open Zeger-Jan van de Weg requested to merge zj/gitlab-ce:zj-cleanup-deployments into master

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Part of gitlab-org/gitlab-ce#31803 (Skipped changes that required the application to change)