You don't have to modify the sqlite file, Entity Ruler will tell spaCy the X-Ray entity's name and type(NER label). And the .asc file will use the customized description if the name is the same.
I'm using
RapidFuzz and Wikipedia(normalized or redirects) to merge similar X-Ray entities. And try to use the full name(has white space or interpunct) for the person X-Ray entity.
Entity Ruler also has
this feature, I can add another aliases column(enter multiple data by separating them with "," or just one alias) to the table and assign the same id to all aliases.