I’ve got a list of pharmacies that I need to add to the database. I’ve written a little script that will insert the pharmacies and then the address. I was thinking (hoping) that the pharmacies.id value was just auto-incremented, but that does not appear to be the case.
There seems to be some shared/common ID generator somewhere in the app/DB? Can someone tell me how IDs are generated for pharmacies, addresses, and phone_numbers?