[openSUSE/open-build-service] ce00f7: Fix association between roles and relationships
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: ce00f74a15e48388b99f129ed86a3d624ef79938 https://github.com/openSUSE/open-build-service/commit/ce00f74a15e48388b99f12... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-06-11 (Tue, 11 Jun 2024) Changed paths: M src/api/app/models/role.rb Log Message: ----------- Fix association between roles and relationships In a "one to many" relationship it doesn't make sense to define `belongs_to` associations on both models `Roles` and `Relationship` from one to another. Fix that by defining that a role has many relationships. Commit: d2fd9e35ed12a8111748decddffe98703adde94a https://github.com/openSUSE/open-build-service/commit/d2fd9e35ed12a8111748de... Author: Eduardo J <enavarro@suse.com> Date: 2024-06-11 (Tue, 11 Jun 2024) Changed paths: M src/api/app/models/role.rb Log Message: ----------- Merge pull request #16300 from eduardoj/fix/roles_relationships Fix association between roles and relationships Compare: https://github.com/openSUSE/open-build-service/compare/f4d01b0d3563...d2fd9e... To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications
participants (1)
-
Eduardo J.