Skip to content

Instantly share code, notes, and snippets.

@nul800sebastiaan
Created February 11, 2016 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nul800sebastiaan/5bc38dde86dbbec11d5f to your computer and use it in GitHub Desktop.
Save nul800sebastiaan/5bc38dde86dbbec11d5f to your computer and use it in GitHub Desktop.
ALTER TABLE [dbo].[cmsPropertyTypeGroup] WITH CHECK ADD CONSTRAINT [FK_cmsPropertyTypeGroup_cmsPropertyTypeGroup_id] FOREIGN KEY([parentGroupId])
REFERENCES [dbo].[cmsPropertyTypeGroup] ([id])
GO
ALTER TABLE [dbo].[cmsPropertyTypeGroup] CHECK CONSTRAINT [FK_cmsPropertyTypeGroup_cmsPropertyTypeGroup_id]
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment