Updated table model

This commit is contained in:
Administrator 2022-05-18 15:25:38 +02:00
parent 627c9e4012
commit dda535a0a3

View File

@ -72,10 +72,10 @@ CREATE TABLE IF NOT EXISTS Menu
CREATE TABLE IF NOT EXISTS Menucontent CREATE TABLE IF NOT EXISTS Menucontent
( (
MenuID int, MenuID int,
ProduktID int, MengenID int,
foreign key (MenuID) references Menu (MenuID), foreign key (MenuID) references Menu (MenuID),
foreign key (ProduktID) references Produkt (ProduktID), foreign key (MengenID) references Menge (MengenID),
primary key (MenuID, ProduktID) primary key (MenuID, MengenID)
); );
CREATE TABLE IF NOT EXISTS Allergie CREATE TABLE IF NOT EXISTS Allergie