Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix upgrading storage database from previous versions of LiteDB #70

Closed
matus-tomlein opened this issue Mar 21, 2023 · 0 comments
Closed
Assignees

Comments

@matus-tomlein
Copy link
Contributor

In the 0.6.1 release of the tracker, the LiteDB dependency was upgraded from v4 to v5.

In cases where the storage database was previously saved using the v4 version of the LiteDB dependency, this raised an exception when the database was loaded using the v5 LiteDB:

LiteException: File is not a valid LiteDB database format or contains a invalid password.

To fix this issue, we need to enable the Upgrade attribute when creating the connection in LiteDB.

@matus-tomlein matus-tomlein self-assigned this Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant