dev/core#1447 Fix hard fail on upgrade due to duplicate names in the database when...