Clean up unreachable code after tighten DB contraint
Not NULL contraint was applied to namespace_id column on gitlab_subscriptions table, by merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54319. As a result, gitlab_subscription.namespace should always present. We can safely remove the code where it checks the `gitlab_subscription.namespace`'s presence.
Showing
Please register or sign in to comment