Closed sparre closed 10 years ago
What is your suggestion for a better name? Something like "references"? Anyway, I think the entire database schema should probably be revised at some point - so maybe this should rather be part of a more general database-cleanup task?
I think the suggestion was, for instance in organization_contacts it has the fields organization_id and contact_id, they should just be called organization and contact.
In that case, I think that organization_id is more appropriate, as this is what it is. But then again, I'm no database design expert.
But "id" is the type. It represents an organization/contact.
BTW: PedersenThomas is working on an overhaul of the entire database schema.
Remove the uninformative (and not very beautiful) "_id" suffix from "organization" and "contact" reference fields in the database schema.