Removes the xml cache tables - we don't use them apart from in unit tests

This commit is contained in:
Shannon
2019-02-12 10:53:30 +11:00
parent f71fe3f78d
commit 978f59ffe8
20 changed files with 67 additions and 40 deletions

View File

@@ -307,6 +307,13 @@ namespace Umbraco.Tests.TestHelpers
var schemaHelper = new DatabaseSchemaCreator(scope.Database, Logger);
//Create the umbraco database and its base data
schemaHelper.InitializeDatabaseSchema();
//Special case, we need to create the xml cache tables manually since they are not part of the default
//setup.
//TODO: Remove this when we update all tests to use nucache
schemaHelper.CreateTable<ContentXmlDto>();
schemaHelper.CreateTable<PreviewXmlDto>();
scope.Complete();
}