Add ID fields for Message log and message data