Create missing rails association for database relationships for table Users - group::pipeline execution
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Authentication team is working on epic Detect when user deletion does not delete an association with batched deletes as part of which we need to make sure there are no foreign keys to Users table without an association and dependent:
clause defined at model leve.
Right now there are many such foreign-key. Please refer this issue - #565455 (closed). Most of the foreign-keys are being taken care of by groupauthentication but still there are few foreign-keys which I feel should be taken care-of by the respective team since these foreign-keys do not belong to Users only and are mostly storing user-id for auditing purpose .. so not sure if we should actually destroy these relations as soon as the User is deleted.
Following foreign keys are missing relationship declaration in Users model. This is important to have all the relations defined for Users table, since missing dependent: destroy
clause for each foreign key -
merge_trains