In my system I have two tables, one with user registries, of course, each one has its ID.
And another table where the sending data is placed from one user to another, but only the IDs of the sender and receiver are shown.
I added two more columns in the gift table that would be for the names and username of the users who received the gift, so I knew who was given by name and not by ID.
My idea would be to update / insert the names and usernames by comparing the ID of the recipient with the ID of the user table.
Just to state, I bought the system ready and wanted to implement, I tried anyway to replace so that the names were already for table, but nothing done.