------------------------------- Fix Bug MW-5442 - Adding Cascade deletion 
-- Adding Cascade deletion to FK_MwusRevisionLanguage_MwusRevision: dropping contraint first, and then re-adding it.
ALTER TABLE [MwusRevisionLanguage] DROP CONSTRAINT [FK_MwusRevisionLanguage_MwusRevision]
GO

ALTER TABLE [MwusRevisionLanguage] ADD CONSTRAINT [FK_MwusRevisionLanguage_MwusRevision] FOREIGN KEY([RevisionID])
REFERENCES [MwusRevision] ([RevisionID])
ON DELETE CASCADE
GO