We will probably want an index on origin_type because I can see use needing to query all measurements by measurement_origin "withings"