it is caused by the foreign key and the default delete cascade settings for the table. This has adverse outcome that if the admin users are associated with a team then the admin will not be able to login (can not find the profile) and can not recover from the error.
Deleting a team should be supported so that it only dissociate the team from profiles.
it is caused by the foreign key and the default delete cascade settings for the table. This has adverse outcome that if the admin users are associated with a team then the admin will not be able to login (can not find the profile) and can not recover from the error.
Deleting a team should be supported so that it only dissociate the team from profiles.