CkMigrationStep
Namespace: Meshmakers.Octo.Runtime.Contracts.CkModelMigrations
A single step in a CK migration path (for multi-hop migrations)
public class CkMigrationStep
Inheritance Object → CkMigrationStep
Properties
FromVersion
Source version for this step
public string FromVersion { get; set; }
Property Value
ToVersion
Target version for this step
public string ToVersion { get; set; }
Property Value
Script
The parsed migration script. Either this or ScriptPath must be provided.
public CkMigrationScriptDto Script { get; set; }
Property Value
CkMigrationScriptDto
ScriptPath
Path to the migration script (for file-system based loading). Either this or Script must be provided.
public string ScriptPath { get; set; }
Property Value
Description
Description of this migration step
public string Description { get; set; }
Property Value
Breaking
Whether this step contains breaking changes
public bool Breaking { get; set; }
Property Value
Constructors
CkMigrationStep()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public CkMigrationStep()