Adds ability to have proxy migrations so there is no duplication of declaring migrations and no duplication of executing already executed migrations. Would have been a bit nicer to have

This commit is contained in:
Shannon
2014-03-12 20:36:40 +11:00
parent 3b26834484
commit 0dc00a62e2
13 changed files with 226 additions and 116 deletions

View File

@@ -529,16 +529,7 @@ namespace Umbraco.Core
{
return ResolveTypesWithAttribute<BaseMapper, MapperForAttribute>();
}
/// <summary>
/// Returns all available IMigrations in application
/// </summary>
/// <returns></returns>
internal IEnumerable<Type> ResolveMigrationTypes()
{
return ResolveTypes<IMigration>();
}
/// <summary>
/// Returns all SqlSyntaxProviders with the SqlSyntaxProviderAttribute
/// </summary>