diff options
Diffstat (limited to 'opdracht-1/q6.sql')
-rw-r--r-- | opdracht-1/q6.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opdracht-1/q6.sql b/opdracht-1/q6.sql index e8d43ff..9125755 100644 --- a/opdracht-1/q6.sql +++ b/opdracht-1/q6.sql @@ -1,2 +1,2 @@ -alter table `Order` drop foreign key KlantID; -alter table `Order` add constraint KlantID foreign key (KlantID) references Klant(ID) on update cascade; +alter table `Order` drop foreign key Order_ibfk_1; +alter table `Order` add constraint Order_ibfk_1 foreign key (KlantID) references Klant(ID) on update cascade; |