API reference › @evolu/common › local‑first/Db › UnsupportedDbVersionError
Defined in: packages/common/src/local-first/Db.ts:190
The stored database version is newer than this code supports. Newer code
created or migrated the database, which is left unchanged. This happens when
a tab running a newer deployment migrated the database while this tab still
runs older code, or when the app was downgraded after a newer version
migrated the local data. Update the app to a version that supports
storedVersion and close all its tabs.
Extends
Typed<"UnsupportedDbVersionError">
Properties
storedVersion
readonly storedVersion: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"Positive">;
Defined in: packages/common/src/local-first/Db.ts:191
supportedVersion
readonly supportedVersion: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"Positive">;
Defined in: packages/common/src/local-first/Db.ts:192
type
readonly type: "UnsupportedDbVersionError";
Defined in: packages/common/src/Type.ts:14201