I have a “group” table which just contains a name. My users can join a group, which stores the group name in a column on the users table and I have a relationship column based on that.
When someone edits a group name, I’d like to update the group column on every user that is in the group, so that they are still in the same group after the edit. Otherwise they would be in an invalid group.