Created
August 27, 2014 12:36
-
-
Save joeriks/418eea6cf47d75ae372c to your computer and use it in GitHub Desktop.
Delete all templates from umbraco db
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| update cmsDocument Set templateId=null | |
| DELETE FROM [dbo].[cmsDocumentType] | |
| DELETE FROM umbracoNode WHERE nodeObjectType = '6FBDE604-4178-42CE-A10B-8A2600A2F07D' | |
| DELETE FROM [dbo].[cmsTemplate] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment