Constructor DatabaseSchemaOutOfDateException
- Namespace
- MailFathom.Application.Persistence
- Assembly
- MailFathom.Application.dll
DatabaseSchemaOutOfDateException(string, IReadOnlyList<string>)
Initializes a new stale-schema failure for the migrations the database has not applied.
public DatabaseSchemaOutOfDateException(string operatorSafeMessage, IReadOnlyList<string> pendingMigrationIdentifiers)
Parameters
operatorSafeMessagestringA message naming migration identifiers and the command that applies them.
pendingMigrationIdentifiersIReadOnlyList<string>The migrations the build defines that the database does not carry.
Exceptions
- ArgumentNullException
Thrown when
pendingMigrationIdentifiersis null.