Update umbracoUser2NodeNotify in SuperZero migration

This commit is contained in:
Steve Megson
2019-09-04 10:06:14 +01:00
committed by Sebastiaan Janssen
parent adeb8fc1f7
commit 79bea8b440

View File

@@ -30,6 +30,7 @@
Database.Execute("set identity_insert umbracoUser off;");
Database.Execute("update umbracoUser2UserGroup set userId=-1 where userId=0;");
Database.Execute("update umbracoUser2NodeNotify set userId=-1 where userId=0;");
Database.Execute("update umbracoNode set nodeUser=-1 where nodeUser=0;");
Database.Execute("update umbracoUserLogin set userId=-1 where userId=0;");
Database.Execute($"update {Constants.DatabaseSchema.Tables.ContentVersion} set userId=-1 where userId=0;");