Skip to content

Instantly share code, notes, and snippets.

@nick-hoang
Created February 21, 2020 11:56
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 nick-hoang/9ed063d7c487f693e8c11f27c80d61a1 to your computer and use it in GitHub Desktop.
Save nick-hoang/9ed063d7c487f693e8c11f27c80d61a1 to your computer and use it in GitHub Desktop.
Remove all Umbraco 7 tables
use umbraco_db_name
Drop table schema.cmsPreviewXml
Drop table schema.cmsContentVersion
Drop table schema.cmsContentXml
Drop table schema.cmsDocument
Drop table schema.cmsMedia
Drop table schema.cmsMember2MemberGroup
Drop table schema.cmsMember
Drop table schema.cmsTagRelationship
Drop table schema.cmsContent
Drop table schema.cmsContentType2ContentType
Drop table schema.cmsContentTypeAllowedContentType
Drop table schema.cmsDocumentType
Drop table schema.cmsMemberType
Drop table schema.cmsPropertyData
Drop table schema.cmsPropertyType
Drop table schema.cmsPropertyTypeGroup
Drop table schema.cmsContentType
Drop table schema.cmsDataTypePreValues
Drop table schema.cmsDataType
Drop table schema.cmsDictionary
Drop table schema.cmsLanguageText
Drop table schema.cmsMacroProperty
Drop table schema.cmsMacro
Drop table schema.cmsTemplate
Drop table schema.umbracoAccessRule
Drop table schema.umbracoAccess
Drop table schema.umbracoAudit
Drop table schema.umbracoCacheInstruction
Drop table schema.umbracoConsent
Drop table schema.umbracoDomains
Drop table schema.umbracoExternalLogin
Drop table schema.umbracoLanguage
Drop table schema.umbracoLock
Drop table schema.umbracoLog
Drop table schema.umbracoMigration
Drop table schema.umbracoRedirectUrl
Drop table schema.umbracoServer
Drop table schema.umbracoUser2NodeNotify
Drop table schema.umbracoUser2UserGroup
Drop table schema.umbracoUserGroup2NodePermission
Drop table schema.umbracoUserLogin
Drop table schema.umbracoUserStartNode
Drop table schema.umbracoUserGroup2App
Drop table schema.umbracoUserGroup
Drop table schema.umbracoUser
Drop table schema.umbracoRelation
Drop table schema.umbracoRelationType
Drop table schema.umbracoNode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment