Rename `date_measured` to `created_at` and convert it into a datetime type.