Skip to content

Commit 969fd91

Browse files
committed
[smarcet]
* fixed migration
1 parent ea31bb4 commit 969fd91

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

summit/code/migrations/AddOnDeleteCascadeForEventsAndPresentationMaterials.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ function doUp()
2828
"DELETE FROM Presentation WHERE NOT EXISTS ( SELECT SummitEvent.ID FROM SummitEvent WHERE SummitEvent.ID = Presentation.ID);",
2929
"ALTER TABLE Presentation ADD CONSTRAINT FK_760FE6EC280A331N FOREIGN KEY (ID) REFERENCES SummitEvent (ID) ON DELETE CASCADE;",
3030
"DELETE from PresentationMaterial WHERE NOT EXISTS ( SELECT Presentation.ID From Presentation where Presentation.ID = PresentationID);",
31-
"ALTER TABLE PresentationMaterial ADD CONSTRAINT FK_760FE6EC280A3317 FOREIGN KEY (PresentationID) REFERENCES Presentation (ID);",
3231
"DELETE from PresentationLink WHERE NOT EXISTS ( SELECT PresentationMaterial.ID From PresentationMaterial where PresentationMaterial.ID = PresentationLink.ID);",
3332
"ALTER TABLE PresentationLink ADD CONSTRAINT FK_DDDF040D11D3633A FOREIGN KEY (ID) REFERENCES PresentationMaterial (ID) ON DELETE CASCADE;",
3433
"DELETE from PresentationVideo WHERE NOT EXISTS ( SELECT PresentationMaterial.ID From PresentationMaterial where PresentationMaterial.ID = PresentationVideo.ID);",

0 commit comments

Comments
 (0)