add a new measure_id to point to the `origin` entry in the measure table
add a new `created` field to measures to use for stats

the time field can be up to two months in the past, so we'd have to
recalculate stats for the entire period all the time
actually set the new `measure_id` and `created` fields