Removed unnecessary foreign keys in courses table