**Is your feature request related to a problem? Please describe.** Before enums were stored as integers, which allowed us to do range queries. Ex: we have a Rating Enum, and sometimes we like to search above a certain rating. **Describe the solution you'd like** Options: 1) Go back to enums defaulting to integers. 2) Add a way to configure an enum field as integer or string.