Code: Selecteer alles
Event(eventId*, name)
Participant(participantId*, name, [fk] eventId)
Item(itemId*, name, [fk] eventId)
IHave(relationId*, [fk] participantId, [fk] itemId)
Introducing FOREIGN KEY constraint may cause cycles or multiple cascade paths
Hoe zou ik dit kunnen oplossen?
Ik moet de volgende functionaliteit hebben:
delete participant => delete relation
delete item => delete relation
delete event => delete participant, item & relation