Renamed happenedAt to happened_at