Docs
Tenantry ProAPI reference

StartupMigrations enum

Namespace: Tenantry.Pro.EfCore · Package: Tenantry.Pro.EfCore · API reference

Whether, and how, an application applies a context's migrations when it starts.

public enum StartupMigrations

Values

ValueDescription
None = 0Not at startup: run them once per deployment instead (RunTenantMigrationsIfRequestedAsync). The default.
LogFailures = 1Apply them before the application serves requests; failures are logged and the application starts.
FailOnError = 2Apply them before the application serves requests; any failure stops the application from starting.

On this page