Class UmbracoPremigrationPlan
Represents the Umbraco CMS pre-migration plan. - Migrations that always runs unattended before the main migration plan.
Namespace: Umbraco.Cms.Infrastructure.Migrations.Upgrade
Assembly: Umbraco.Infrastructure.dll
Syntax
public class UmbracoPremigrationPlan : MigrationPlan
Constructors
View SourceUmbracoPremigrationPlan()
Initializes a new instance of the UmbracoPlan class.
Declaration
public UmbracoPremigrationPlan()
Properties
View SourceInitialState
Gets the initial state.
Declaration
public override string InitialState { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
The initial state is the state when the plan has never run. By default, it is the empty string, but plans may override it if they have other ways of determining where to start from.
Methods
View SourceDefinePlan()
Defines the plan.
Declaration
protected virtual void DefinePlan()
Remarks
This is virtual for testing purposes.