myVersion Abstract
myVersion: string
The current semver "persistence version" of this class.
@note This value should only be changed when logic in its code is modified in a way that affects the operation of extant copies.
If this value is outside of the range of accepted versions of a to-be-opened VersionedSqliteDb, the operation will fail. In this manner, if
changes are made to the format of a VersionedSqliteDb, or if bug fixes are necessary, the requiredVersions
property in a VersionedSqliteDb may be updated
and immediately old versions of the package will refuse to open the VersionedSqliteDb, with a message to the user that they need to upgrade their
software. Likewise, if a new version of the package is asked to open an older VersionedSqliteDb that has not been upgraded to the lowest version
supported by it, the user will be informed that they need to upgrade their software.
@note this identifier is independent of versions in package.json
files.
Defined in
- core/backend/src/SQLiteDb.ts Line 289
Last Updated: 23 November, 2024