Forgive me. This should be a simple task but i am struggling to find the answer as I am very new to database design. Here is my challenge. I am building a contact management system database for my personal use.
In this case I have several different contact types:
- Lead
- Customer
- Colleague
- Supplier
In the sales cycle, Contacts are first identified as being a Lead, Colleague or Suppliers with the later two requiring no relationship with another other Contact Type. Now, while a Lead will always be a Lead, they may also become a Customer at come point on our process with very different attributes.
So I have created the two tables:
- Leads
- Customers
As I see it, a Lead will have either ZERO or ONE Customer related and Customers will always have exactly ONE Lead related. The ONE to MANY relationship I can create, no problem. But I am confused as to how I create the ONE to ONE relationship going back in the GUI. I am using LO 6.0.2.3 with the HSQLDB format. I know zero database languages and am reliant to the GUI. That being said, I am willing to learn.
Thanks in advance for responding.
Scott