Class RedbSchemaNewerException

Assembly: redb.Core.dll

The database carries a redb module (or, on SQLite, a file schema) newer than this package's, and that newer module
does not serve this package. Start-up stops and leaves the database as it is.

A package never puts its own, older module over a newer one: a node of the previous version in a cluster that is
being upgraded would otherwise take the database back for every node. When the newer module still serves this
package (it says so itself: pvt_module_compat() on PostgreSQL and SQL Server, the _schema_compat row
of a SQLite file) the start goes on with a warning; when it does not, this exception is thrown. The way out is
upgrading the redb packages of this application.


A sibling of , not a case of it: that one asks for the database to be
upgraded, this one for the application.

public class RedbSchemaNewerException : Exception, ISerializable

Inheritance

Object→Exception→RedbSchemaNewerException

Implements

Properties

DeployedVersion

Module version (SQLite: file schema version) the database reports.

public string DeployedVersion { get; }

PackageVersion

Module version (SQLite: file schema version) this package ships.

public string PackageVersion { get; }

Provider

Provider name as the dialect reports it.

public string Provider { get; }

RequiredPackageVersion

The redb package version from which on the database is served, as the database itself states it; null

public string? RequiredPackageVersion { get; }

Constructors