Class EdgeMigrator
Startup task order 100. Reads PRAGMA user_version, runs each pending migration in its own
transaction, and sets user_version after each. A failure stops the run and raises
EdgeMigrationException; migrations already applied stay applied.
public sealed class EdgeMigrator : IEdgeStartupTask
- Inheritance
-
EdgeMigrator
- Implements
- Inherited Members
Constructors
- EdgeMigrator(EdgeDatabase, IReadOnlyList<IEdgeMigration>, ILogger<EdgeMigrator>)
Startup task order 100. Reads
PRAGMA user_version, runs each pending migration in its own transaction, and setsuser_versionafter each. A failure stops the run and raises EdgeMigrationException; migrations already applied stay applied.
Properties
- Order
Ascending run order. Ties resolve in DI registration order. See EdgeStartupOrder.