Remove redirect_routes trigger to fill namespace_id
We're using a trigger trigger_sync_redirect_routes_namespace_id to fill namespace_id for redirect_routes. We want to:
- Populate
namespace_idwithin Rails itself - Remove the trigger and set
namespace_idasNOT NULL - Update
subject_keyforRedirectRouteto be just usingnamespace_id
The following discussion from !216123 should be addressed:
-
@bmarjanovic started a discussion:
nit-pick: maybe we can create a follow-up issue to clean-up this when removing the trigger.
Edited by 🤖 GitLab Bot 🤖