[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feedback on new customer/vendor proposal



> I may have missed the first part of this discussion, but it would seem the 
> easiest thing would be a unified contact list, with some extra logical fields 
> for roles:
> Vendor	T/F
> Customer T/F
> Employee T/F
> Prospect T/F
> etc, to control who is on what dropdown list.

Actually the model would look something like this (shortened to keep it
easy):

contacts
--------------------------------------------------------------------------
contact_id, first_name, last_name, role_id references role(id)

role
---------------------
role_id, description
  1     |  Vendor

Joshua D. Drake


-- 

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
             http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate