Update notes schema from types-as-array to category-as-string.