Problem to solve
Key mapping doesn't work for polymorph relations.
At least, add a mention in the documentation (https://clonio.dev/docs/cloning-config/key-remapping.html) about that.
Proposed solution
Add a structure in the yaml file to be able to list model values with table and column reference for each of them.
Next, introspect the code to fetch this info automatically during a dump.
Who benefits?
Anyone on Laravel with a polymorph relations that needs anonymization.
Problem to solve
Key mapping doesn't work for polymorph relations.
At least, add a mention in the documentation (https://clonio.dev/docs/cloning-config/key-remapping.html) about that.
Proposed solution
Add a structure in the yaml file to be able to list model values with table and column reference for each of them.
Next, introspect the code to fetch this info automatically during a dump.
Who benefits?
Anyone on Laravel with a polymorph relations that needs anonymization.