Please see the following example Database Model i made to help visualize my problem:
In this example, the relationship between car and history is 1 to zero or more
and relationship between car and options is 1 to zero or more
.
both tables have car car_id
as foreign key but Visio also wants customer
table primary key for each of these tables as foreign key as seen in the diagram above. I am not sure if that's necessary/correct. if i remove the added foreign keys , visio marks the relationship as non-identifiable (dotted line) so i feel as though i am doing something wrong
would anyone be able to tell me why Visio is adding the customer cust_id
to child tables of car
? and whether or not removing the Foreign Keys manually is bad idea in this case?