Skip to content

Commit

Permalink
[smarcet]
Browse files Browse the repository at this point in the history
* fixed migration
  • Loading branch information
smarcet committed Mar 26, 2018
1 parent ea31bb4 commit 969fd91
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ function doUp()
"DELETE FROM Presentation WHERE NOT EXISTS ( SELECT SummitEvent.ID FROM SummitEvent WHERE SummitEvent.ID = Presentation.ID);",
"ALTER TABLE Presentation ADD CONSTRAINT FK_760FE6EC280A331N FOREIGN KEY (ID) REFERENCES SummitEvent (ID) ON DELETE CASCADE;",
"DELETE from PresentationMaterial WHERE NOT EXISTS ( SELECT Presentation.ID From Presentation where Presentation.ID = PresentationID);",
"ALTER TABLE PresentationMaterial ADD CONSTRAINT FK_760FE6EC280A3317 FOREIGN KEY (PresentationID) REFERENCES Presentation (ID);",
"DELETE from PresentationLink WHERE NOT EXISTS ( SELECT PresentationMaterial.ID From PresentationMaterial where PresentationMaterial.ID = PresentationLink.ID);",
"ALTER TABLE PresentationLink ADD CONSTRAINT FK_DDDF040D11D3633A FOREIGN KEY (ID) REFERENCES PresentationMaterial (ID) ON DELETE CASCADE;",
"DELETE from PresentationVideo WHERE NOT EXISTS ( SELECT PresentationMaterial.ID From PresentationMaterial where PresentationMaterial.ID = PresentationVideo.ID);",
Expand Down

0 comments on commit 969fd91

Please sign in to comment.