This commit is contained in:
Emily 2019-05-28 22:55:20 +01:00
parent 4197f64cc8
commit b7a706ff9f

View File

@ -5101,7 +5101,7 @@ CREATE TABLE Husrelasjoner
( (
BrukerID INT(11), BrukerID INT(11),
HusID INT(11), HusID INT(11),
Privleges INT(11), Privileges INT(11),
PRIMARY KEY (BrukerID, HusID), PRIMARY KEY (BrukerID, HusID),
CONSTRAINT FOREIGN KEY (BrukerID) REFERENCES Bruker(BrukerID), CONSTRAINT FOREIGN KEY (BrukerID) REFERENCES Bruker(BrukerID),
CONSTRAINT FOREIGN KEY (HusID) REFERENCES Husstand(HusID) CONSTRAINT FOREIGN KEY (HusID) REFERENCES Husstand(HusID)