bug: always add index for created_at even this field is not there