Open TheMann77 opened 3 months ago
I have temporarily fixed the bug by not allowing duplicate names and showing an error message - however we should consider this again in future if we have time. I think ideally we would have a unique ID, allowing multiple schools with the same name which could be differentiated by location or a logo.
There is currently no way of handling school name duplicates. We should either not allow duplicate names - and so give a suitable error message when creating a school if the name is already taken, or we should add a unique ID column to the schools database