Can somebody explain to me what is the rationale for not having a unique index on shortname field in course table?
Moodle already checks for duplicates in code, but it is bad design to put this kind of logic in the code. Database should handle integrity of data whenever possible.
Thanks