schema for temp, and its associated model