daat-hamakom/data

double records of places

Opened this issue · 2 comments

There are a couple of place that appears 2 times in database. I think they are a result of bug, I just created one place Zolochiv, Ukraine and it appears twice. Can you find the bug and also fix the other doublings (that all events/people will point to the place after deleting the double) ? thanks

Need to add uniqueness constraint on places

Also might want to add a merge management command that takes arbitrary objects and merges their related objects into their duplicate object