Changing the MoveMasterContentTypeData migration to use the fluent Update statement with dynamic entries from the database. Adding IfDatabase condition for Update. Updating a few tests, which were using the MigrationContext.
11 lines
310 B
C#
11 lines
310 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Umbraco.Core.Persistence.Migrations
|
|
{
|
|
public interface IMigrationContext
|
|
{
|
|
ICollection<IMigrationExpression> Expressions { get; set; }
|
|
DatabaseProviders CurrentDatabaseProvider { get; }
|
|
Database Database { get; }
|
|
}
|
|
} |