Skip to content

Commit

Permalink
Add tip to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kspurgin committed Sep 13, 2023
1 parent 2e9c4c1 commit b65cb79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/iterative_cleanup.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ data back into the migration, and identifying whether a given value in
subsequent worksheet iterations has been previously included in a
worksheet.

**TIP**: You can add the `:fingerprint` by defining a `base_job_cleaned_pre_xforms` method in your cleanup module config. I've done this in several kiba-tms cleanup configs where the base tables are generated by other complicated automated processes, where it'd be a nightmare to work in the addition of the fingerprint field. See [Kiba::Tms::AltNumsForRefmasterTypeCleanup](https://github.com/lyrasis/kiba-tms/blob/main/lib/kiba/tms/alt_nums_for_refmaster_type_cleanup.rb) as an example.

#### Required before extending `IterativeCleanup`: `fingerprint_fields`

The fields that will be hashed into the `:clean_fingerprint` value.
Expand Down

0 comments on commit b65cb79

Please sign in to comment.