Closed postmodern closed 11 months ago
Add a OrganizationVendor model which joins one Organization to another Company and represents a business relationship.
OrganizationVendor
Organization
Company
Second thought, this can be implemented by defining another has_many relationship on OrganizationCustomer but use customer_organization_id as the foreign-key.
has_many
OrganizationCustomer
customer_organization_id
Add a
OrganizationVendor
model which joins oneOrganization
to anotherCompany
and represents a business relationship.