If a record is updated more than once, or updated and then destroyed, then only one XapitChange should be recorded. We don't want to replace documents more than necessary.
To accomplish this we could remove previous XapitChange records which have the same target_class and target_id.
If a record is updated more than once, or updated and then destroyed, then only one XapitChange should be recorded. We don't want to replace documents more than necessary.
To accomplish this we could remove previous XapitChange records which have the same target_class and target_id.