There is model Leads
with fields :
name, phone, email, address
and I create model Contacts
with the same fields but with processed data from Leads
for example, combine all leads with the same names and phone numbers into one contact, etc.
how to implement it? whether to create a migration or a . how it is better to implement it?