Migration for role_coursenum deprecated roles