unnecessary foreign keys
Posted by:
Wiss ab
Date: April 10, 2025 12:33AM
in mysql workbench, once i create the tables i do reverse engineer to create relationships then i notice that he create unnecessary primary foreign keys.
ex: create a table hotel, and table class: 1:n (a classe may have many hotels)
then i create table room : 1: n (an hotel may have many rooms)
now the pbm is on table room he create automatically hotel_class_ClassID and put it as PK !
thanks
Subject
Written By
Posted
unnecessary foreign keys
April 10, 2025 12:33AM
Sorry, only registered users may post in this forum.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.