when creating index tables check to see if the range key needs to be of type string